1
0
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:
Thomas Harte 2016-10-30 20:30:32 -04:00
parent 2452a3104f
commit 4b347b9993

View File

@ -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))")
}
}
}