annotate LazyBearTests/LazyBearTests.swift @ 437:5ca468751db2

Change init to initial
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 20 Jun 2021 12:58:52 +0200
parents 3d6f0329d691
children 783b567800d9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
359
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
1 //
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
2 // LazyBearTests.swift
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
3 // LazyBearTests
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
4 //
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
5 // Created by Dennis Concepción Martín on 16/4/21.
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
6 //
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
7
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
8 import XCTest
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
9
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
10 class LazyBearTests: XCTestCase {
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
11
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
12 override func setUpWithError() throws {
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
13 // Put setup code here. This method is called before the invocation of each test method in the class.
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
14 }
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
15
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
16 override func tearDownWithError() throws {
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
17 // Put teardown code here. This method is called after the invocation of each test method in the class.
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
18 }
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
19
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
20 func testExample() throws {
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
21 // This is an example of a functional test case.
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
22 // Use XCTAssert and related functions to verify your tests produce the correct results.
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
23 }
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
24
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
25 func testPerformanceExample() throws {
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
26 // This is an example of a performance test case.
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
27 measure {
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
28 // Put the code you want to measure the time of here.
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
29 }
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
30 }
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
31
3d6f0329d691 Add tests
Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com>
parents:
diff changeset
32 }