EightBitNet/M6502/M6502.HarteTest/ProcessorTestSuite.cs

16 lines
412 B
C#
Raw Normal View History

namespace M6502.HarteTest
{
internal class ProcessorTestSuite(string location)
{
public string Location { get; set; } = location;
public IEnumerable<OpcodeTestSuite> OpcodeTests()
{
foreach (var filename in Directory.EnumerateFiles(this.Location, "*.json"))
{
yield return new OpcodeTestSuite(filename);
}
}
}
}