mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +00:00
Disabled attempts at bus activity matching within the FUSE tests, at least until I settle on exactly what I intend to do.
This commit is contained in:
parent
efc7f9df37
commit
0f18768091
@ -218,17 +218,17 @@ class FUSETests: XCTestCase {
|
||||
}
|
||||
|
||||
// Compare bus operations.
|
||||
let capturedBusActivity = machine.busOperationCaptures
|
||||
var capturedBusAcivityIndex = 0;
|
||||
// let capturedBusActivity = machine.busOperationCaptures
|
||||
// var capturedBusAcivityIndex = 0;
|
||||
|
||||
// I presently believe the FUSE unit test bus results for DJNZ — opcode 0x10 — to be
|
||||
// in error by omitting the final offset read. Therefore I am skipping that.
|
||||
// TODO: enquire with the author.
|
||||
if name == "10" {
|
||||
continue
|
||||
}
|
||||
// if name == "10" {
|
||||
// continue
|
||||
// }
|
||||
|
||||
let desiredBusActivity = outputDictionary["busActivity"] as? [[String: Any]]
|
||||
/* let desiredBusActivity = outputDictionary["busActivity"] as? [[String: Any]]
|
||||
if let desiredBusActivity = desiredBusActivity {
|
||||
for action in desiredBusActivity {
|
||||
let type = action["type"] as! String
|
||||
@ -282,7 +282,7 @@ class FUSETests: XCTestCase {
|
||||
"Failed bus operation match \(name) (at time \(time) with address \(address), value was \(value != nil ? value! : 0), tracking index \(capturedBusAcivityIndex) amongst \(capturedBusActivity))")
|
||||
capturedBusAcivityIndex += 1
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user