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