EightBitNet/LR35902/LR35902.FuseTest/TestEvents.cs
Adrian Conlon a9a03d946a Refactor LR35902 test runner. Better, but still not working.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-07-20 19:17:08 +01:00

26 lines
558 B
C#

namespace Fuse
{
using System.Collections.Generic;
public class TestEvents
{
public List<TestEvent> Container { get; } = new List<TestEvent>();
public void Parse(Lines lines)
{
var complete = false;
do
{
var e = new TestEvent();
e.Parse(lines);
complete = !e.Valid;
if (!complete)
{
this.Container.Add(e);
}
}
while (!complete);
}
}
}