mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-17 02:24:55 +00:00
Introduces the full range of tests.
Albeit that I don't know the correct output yet.
This commit is contained in:
parent
cf7ab97451
commit
da0a9113d4
@ -72,6 +72,26 @@ class PatrikRakTests: XCTestCase, CSTestMachineTrapHandler {
|
|||||||
runTest("z80ccf", targetOutput: targetOutput)
|
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) {
|
func testMachine(_ testMachine: CSTestMachine, didTrapAtAddress address: UInt16) {
|
||||||
let testMachineZ80 = testMachine as! CSTestMachineZ80
|
let testMachineZ80 = testMachine as! CSTestMachineZ80
|
||||||
switch address {
|
switch address {
|
||||||
|
Loading…
Reference in New Issue
Block a user