mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 16:31:31 +00:00
Remove manual test count, now that all are being performed.
This commit is contained in:
parent
7a2fd93d08
commit
84cfbaa0a4
@ -15,9 +15,7 @@ using namespace InstructionSet::M68k;
|
|||||||
@interface M68000flamewingTests : XCTestCase
|
@interface M68000flamewingTests : XCTestCase
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation M68000flamewingTests {
|
@implementation M68000flamewingTests
|
||||||
int _testsPerformed;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (Status)statusWithflamewingFlags:(int)flags {
|
- (Status)statusWithflamewingFlags:(int)flags {
|
||||||
Status status;
|
Status status;
|
||||||
@ -32,7 +30,6 @@ using namespace InstructionSet::M68k;
|
|||||||
const uint8_t result_flags = test[0];
|
const uint8_t result_flags = test[0];
|
||||||
const uint8_t result_value = test[1];
|
const uint8_t result_value = test[1];
|
||||||
|
|
||||||
++_testsPerformed;
|
|
||||||
NSString *const testName =
|
NSString *const testName =
|
||||||
[NSString stringWithFormat:@"%@ %02x, %02x [%c%c]", operation, source, dest, (flags & 2) ? 'X' : '-', (flags & 1) ? 'Z' : '-'];
|
[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);
|
XCTAssertEqual(result, uint32_t(result_value), @"Wrong value received for %@", testName);
|
||||||
@ -101,8 +98,6 @@ using namespace InstructionSet::M68k;
|
|||||||
bytes += 2;
|
bytes += 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NSLog(@"%d tests performed", _testsPerformed);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
Loading…
Reference in New Issue
Block a user