1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-09 21:29:53 +00:00

Introduces the full range of tests.

Albeit that I don't know the correct output yet.
This commit is contained in:
Thomas Harte 2020-02-22 18:44:15 -05:00
parent cf7ab97451
commit da0a9113d4

View File

@ -72,6 +72,26 @@ class PatrikRakTests: XCTestCase, CSTestMachineTrapHandler {
runTest("z80ccf", targetOutput: targetOutput)
}
func testDoc() {
let targetOutput = "???"
runTest("z80doc", targetOutput: targetOutput)
}
func testDocFlags() {
let targetOutput = "???"
runTest("z80docflags", targetOutput: targetOutput)
}
func testFull() {
let targetOutput = "???"
runTest("z80full", targetOutput: targetOutput)
}
func testMemptr() {
let targetOutput = "???"
runTest("z80memptr", targetOutput: targetOutput)
}
func testMachine(_ testMachine: CSTestMachine, didTrapAtAddress address: UInt16) {
let testMachineZ80 = testMachine as! CSTestMachineZ80
switch address {