mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-23 20:29:42 +00:00
Switches to running the real TOS, at least temporarily, and enables better testing.
This commit is contained in:
parent
a9ceef5c37
commit
2c5ff9ada0
@ -26,6 +26,8 @@
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
enableAddressSanitizer = "YES"
|
||||
enableUBSanitizer = "YES"
|
||||
codeCoverageEnabled = "YES"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
|
@ -84,7 +84,7 @@ class EmuTOS: public CPU::MC68000::BusHandler {
|
||||
|
||||
- (void)setUp {
|
||||
// Put setup code here. This method is called before the invocation of each test method in the class.
|
||||
const auto roms = CSROMFetcher()("AtariST", {"etos192uk.img"});
|
||||
const auto roms = CSROMFetcher()("AtariST", {"tos100.img"});
|
||||
_machine.reset(new EmuTOS(*roms[0]));
|
||||
}
|
||||
|
||||
@ -95,7 +95,7 @@ class EmuTOS: public CPU::MC68000::BusHandler {
|
||||
- (void)testExample {
|
||||
// This is an example of a functional test case.
|
||||
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
||||
_machine->run_for(HalfCycles(400));
|
||||
_machine->run_for(HalfCycles(4000));
|
||||
}
|
||||
|
||||
@end
|
||||
|
Loading…
Reference in New Issue
Block a user