Files
EightBitNet/Z80/Z80.HarteTest/ProcessorTestSuite.cs
T
2025-05-02 10:50:49 +01:00

20 lines
567 B
C#

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