mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-30 04:50:08 +00:00
Adds specific Union Demo test.
This commit is contained in:
parent
214b6a254a
commit
5361ee2526
@ -61,9 +61,6 @@
|
|||||||
while(_video->hsync()) {
|
while(_video->hsync()) {
|
||||||
_video->run_for(Cycles(1));
|
_video->run_for(Cycles(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run 12 cycles further.
|
|
||||||
[self runVideoForCycles:8];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setFrequency:(int)frequency {
|
- (void)setFrequency:(int)frequency {
|
||||||
@ -316,4 +313,19 @@ struct RunLength {
|
|||||||
XCTAssertNotEqual([self currentVideoAddress], 0);
|
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
|
@end
|
||||||
|
Loading…
Reference in New Issue
Block a user