1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00

Adds quantification of reports.

Depressingly; 11,841 opcodes are still missing. Better get on with it!
This commit is contained in:
Thomas Harte 2019-04-26 13:25:34 -04:00
parent 40b2fe7339
commit 40f68b70c1

View File

@ -249,8 +249,10 @@ class CPU::MC68000::ProcessorStorageTests {
[[NSBundle bundleForClass:[self class]] pathForResource:@"OPCLOGR2" ofType:@"BIN"].UTF8String
);
XCTAssert(!storage_tests.false_valids().length, "Opcodes should be invalid but aren't: %@", storage_tests.false_valids());
XCTAssert(!storage_tests.false_invalids().length, "Opcodes should be valid but aren't: %@", storage_tests.false_invalids());
NSString *const falseValids = storage_tests.false_valids();
NSString *const falseInvalids = storage_tests.false_invalids();
XCTAssert(!falseValids.length, "%@ opcodes should be invalid but aren't: %@", @([falseValids componentsSeparatedByString:@" "].count - 1), falseValids);
XCTAssert(!falseInvalids.length, "%@ opcodes should be valid but aren't: %@", @([falseInvalids componentsSeparatedByString:@" "].count - 1), falseInvalids);
}
@end