public void Test_And_Degenerate() { // TODO: this is the current behaviour - perhaps it should throw an exception instead AndSpecification s = new AndSpecification(); Assert.IsTrue(s.Test(null).Success); }
public void Test_And_Mixed() { AndSpecification s = new AndSpecification(); s.Add(AlwaysFalse); s.Add(AlwaysTrue); Assert.IsFalse(s.Test(null).Success); }
public void Test_And_AllTrue() { AndSpecification s = new AndSpecification(); s.Add(AlwaysTrue); s.Add(AlwaysTrue); Assert.IsTrue(s.Test(null).Success); }
public void Test_And_Mixed() { AndSpecification s = new AndSpecification(); s.Add(AlwaysFalse); s.Add(AlwaysTrue); Assert.IsFalse(s.Test(null).Success); }
public void Test_And_AllTrue() { AndSpecification s = new AndSpecification(); s.Add(AlwaysTrue); s.Add(AlwaysTrue); Assert.IsTrue(s.Test(null).Success); }
public void Test_And_Degenerate() { // TODO: this is the current behaviour - perhaps it should throw an exception instead AndSpecification s = new AndSpecification(); Assert.IsTrue(s.Test(null).Success); }