public LogParser() { LogRecordRegex = @"\[(?<time>.+)\] ScriptLog: UNIT_TEST\{Location:(?<location>.+)\}\{Message:(?<message>.*)\}\{(?<assertion>.+):(?<values>.*)\}"; StringValueSeparator = @"|=|=|"; NumberValueSeparator = @","; //Create manager and fill it with known assertions AssertionManger = new AssertionManger { new AssertTrue(), new AssertFalse(), new AssertIntEqual(), new AssertStringEqual(), new AssertAlmostEqual(), new AssertVectorAlmostEqual() }; }
public void SetUp() { _tester = new AssertionManger(); }
public void CtorTest() { _tester = new AssertionManger(); _tester.GetAssertions().Should().BeEmpty(); _tester.Count.Should().Be(0); }