public void BasicOperationTest()
 {
     var assert = new AssertTrue();
     _tester.Add(assert);
     _tester.Count.Should().Be(1);
     _tester["AssertTrue"].Should().NotBeNull();
     _tester.Clear();
     _tester.Count.Should().Be(0);
     FillTester();
     _tester.Count.Should().Be(5);
     _tester.Remove("AssertTrue").Should().BeTrue();
     _tester.Count.Should().Be(4);
     _tester.Add(assert);
     _tester.Remove(assert);
     _tester.Count.Should().Be(4);
 }
Beispiel #2
0
 public void SetUp()
 {
     _tester = new AssertTrue();
 }