From 5361ee252611cf11dd034763d4a5bca5dfea47ea Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 29 Dec 2019 17:48:43 -0500 Subject: [PATCH] Adds specific Union Demo test. --- .../Mac/Clock SignalTests/AtariSTVideoTests.mm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/OSBindings/Mac/Clock SignalTests/AtariSTVideoTests.mm b/OSBindings/Mac/Clock SignalTests/AtariSTVideoTests.mm index 70a4a6b45..62a632cb5 100644 --- a/OSBindings/Mac/Clock SignalTests/AtariSTVideoTests.mm +++ b/OSBindings/Mac/Clock SignalTests/AtariSTVideoTests.mm @@ -61,9 +61,6 @@ while(_video->hsync()) { _video->run_for(Cycles(1)); } - - // Run 12 cycles further. - [self runVideoForCycles:8]; } - (void)setFrequency:(int)frequency { @@ -316,4 +313,19 @@ struct RunLength { XCTAssertNotEqual([self currentVideoAddress], 0); } +// MARK: - Tests Correlating To Exact Pieces of Software + +- (void)testUnionDemoScroller { + const RunLength test[] = { + {72, 8}, + {50, 365}, + {60, 8}, + {50, 59}, + {72, 12}, + {50, 60}, + {-1} + }; + [self testSequence:test targetLength:230]; +} + @end