import Glibc
for count in 1...20 {
print(random() % 100)
}
import XCTest // XCTest Spec Example: // TODO: replace with your own tests (TDD), these are just how-to examples to get you started class SolutionTest: XCTestCase { static var allTests = [ ("Test Example", testExample), ] func testExample() { let actual = 1 XCTAssertEqual(actual, 1) } } XCTMain([ testCase(SolutionTest.allTests) ])
- import XCTest
- // XCTest Spec Example:
- // TODO: replace with your own tests (TDD), these are just how-to examples to get you started
- class SolutionTest: XCTestCase {
- static var allTests = [
- ("Test Example", testExample),
- ]
- func testExample() {
- let actual = 1
- XCTAssertEqual(actual, 1)
- }
- }
- XCTMain([
- testCase(SolutionTest.allTests)
- ])