Exemplo n.º 1
0
 public void TestSimpleEqualsConditionedProperty3()
 {
     SimpleThreeProps obja = new SimpleThreeProps("test", 15, "EQ");
     SimpleThreeProps objb = new SimpleThreeProps("test", 1, "EQ");
     Assert.That(obja, MyIs.SomePropertiesEqualTo(objb, "PropA", "ThirdProperty")
                       	.And.Property("PropB").GreaterThan(14));
 }
Exemplo n.º 2
0
 public void TestSimpleEqualsConditionedProperty2()
 {
     SimpleThreeProps obja = new SimpleThreeProps("test", 15, "EQ");
     SimpleThreeProps objb = new SimpleThreeProps("test", 16, "EQ");
     Assert.That(obja, MyIs.SomePropertiesEqualTo(objb, "PropA", "ThirdProperty"));
 }
Exemplo n.º 3
0
 public void TestSimpleEqualsConditionedProperty()
 {
     SimpleThreeProps obja = new SimpleThreeProps("test", 15, "RR");
     SimpleThreeProps objb = new SimpleThreeProps("test", 16, "DIFFERENT");
     Assert.That(obja, MyIs.SomePropertiesEqualTo(objb, "PropA"));
 }