mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Made a trivial XCTAssert
unit test substitution.
This commit is contained in:
parent
2452a3104f
commit
4b347b9993
@ -24,9 +24,7 @@ class AllSuiteATests: XCTestCase {
|
||||
machine.runForNumber(ofCycles: 1000)
|
||||
}
|
||||
|
||||
if machine.value(forAddress: 0x0210) != 0xff {
|
||||
NSException(name: NSExceptionName(rawValue: "Failed AllSuiteA"), reason: "Failed test \(machine.value(forAddress: 0x0210))", userInfo: nil).raise()
|
||||
}
|
||||
XCTAssert(machine.value(forAddress: 0x0210) == 0xff, "Failed test \(machine.value(forAddress: 0x0210))")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user