1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Adds some minor extra testing. Highly duplicative, to be honest.

This commit is contained in:
Thomas Harte 2020-01-02 23:14:05 -05:00
parent 7dea99b1cc
commit 617e0bada9
3 changed files with 25 additions and 2 deletions

View File

@ -10,7 +10,6 @@
#include <cassert>
#define LOG_TRACE
#include "TestRunner68000.hpp"
class CPU::MC68000::ProcessorStorageTests {

View File

@ -337,4 +337,29 @@ struct RunLength {
[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

View File

@ -11,7 +11,6 @@
#include <array>
#define LOG_TRACE
#include "../../../Processors/68000/68000.hpp"
using Flag = CPU::MC68000::Flag;