1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-27 18:55:48 +00:00

Remove manual test count, now that all are being performed.

This commit is contained in:
Thomas Harte 2022-05-13 11:00:26 -04:00
parent 7a2fd93d08
commit 84cfbaa0a4

View File

@ -15,9 +15,7 @@ using namespace InstructionSet::M68k;
@interface M68000flamewingTests : XCTestCase
@end
@implementation M68000flamewingTests {
int _testsPerformed;
}
@implementation M68000flamewingTests
- (Status)statusWithflamewingFlags:(int)flags {
Status status;
@ -32,7 +30,6 @@ using namespace InstructionSet::M68k;
const uint8_t result_flags = test[0];
const uint8_t result_value = test[1];
++_testsPerformed;
NSString *const testName =
[NSString stringWithFormat:@"%@ %02x, %02x [%c%c]", operation, source, dest, (flags & 2) ? 'X' : '-', (flags & 1) ? 'Z' : '-'];
XCTAssertEqual(result, uint32_t(result_value), @"Wrong value received for %@", testName);
@ -101,8 +98,6 @@ using namespace InstructionSet::M68k;
bytes += 2;
}
}
NSLog(@"%d tests performed", _testsPerformed);
}
@end