1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Adds specific Union Demo test.

This commit is contained in:
Thomas Harte 2019-12-29 17:48:43 -05:00
parent 214b6a254a
commit 5361ee2526

View File

@ -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