test(nes): consolidate and simplify inline subsystem unit tests

This commit is contained in:
2026-08-27 07:33:54 +02:00
parent 754dbb9307
commit 71c747d962
23 changed files with 35 additions and 31 deletions
+2 -2
View File
@@ -212,13 +212,13 @@ pub fn irqAsserted(self: *const FrameCounter) bool {
}
pub fn clearIrq(self: *FrameCounter) void {
// ponytail: simultaneous read and IRQ set does not clear flag
// simultaneous read and IRQ set does not clear flag
if (!self.irq_just_set) {
self.irq_flag = false;
}
}
// ponytail: consolidated frame counter unit test suite
// consolidated frame counter unit test suite
test "frame counter 4-step and 5-step mode timings, irq window and write delays" {
var fc = FrameCounter.init(.ntsc);