상속: Fact
예제 #1
0
 public void IsSatisfiedBySubclassObject()
 {
     IsAFact fact = new IsAFact("p", "Fact");
     Assert.IsTrue(fact.IsSatisfiedByValue(fact));
 }
예제 #2
0
 public void IsSatisfiedByFullName()
 {
     IsAFact fact = new IsAFact("p", "System.Int32");
     Assert.IsTrue(fact.IsSatisfiedByValue(12));
 }
예제 #3
0
 public void IsSatisfiedByInterfaceObject()
 {
     IsAFact fact = new IsAFact("p", "IEnumerable");
     Assert.IsTrue(fact.IsSatisfiedByValue("123"));
 }
예제 #4
0
 public void IsSatisfied()
 {
     IsAFact fact = new IsAFact("p", "IsAFact");
     Assert.IsTrue(fact.IsSatisfiedByValue(fact));
 }