mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Adds some minor extra testing. Highly duplicative, to be honest.
This commit is contained in:
parent
7dea99b1cc
commit
617e0bada9
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#define LOG_TRACE
|
|
||||||
#include "TestRunner68000.hpp"
|
#include "TestRunner68000.hpp"
|
||||||
|
|
||||||
class CPU::MC68000::ProcessorStorageTests {
|
class CPU::MC68000::ProcessorStorageTests {
|
||||||
|
@ -337,4 +337,29 @@ struct RunLength {
|
|||||||
[self testSequence:test targetLength:230];
|
[self testSequence:test targetLength:230];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)testPP88 {
|
||||||
|
// Test a full line.
|
||||||
|
{
|
||||||
|
const RunLength test[] = {
|
||||||
|
{72, 8},
|
||||||
|
{50, 364},
|
||||||
|
{60, 16},
|
||||||
|
{50, 116},
|
||||||
|
{72, 8},
|
||||||
|
{-1}
|
||||||
|
};
|
||||||
|
[self testSequence:test targetLength:230];
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
const RunLength test[] = {
|
||||||
|
{72, 8},
|
||||||
|
{496, 50},
|
||||||
|
{72, 8},
|
||||||
|
{-1}
|
||||||
|
};
|
||||||
|
[self testSequence:test targetLength:186];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
#define LOG_TRACE
|
|
||||||
#include "../../../Processors/68000/68000.hpp"
|
#include "../../../Processors/68000/68000.hpp"
|
||||||
|
|
||||||
using Flag = CPU::MC68000::Flag;
|
using Flag = CPU::MC68000::Flag;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user