예제 #1
0
 public void EqualsToInt32(Type type, bool expected)
 {
     TypeConstraint
     .EqualsTo(typeof(int))
     .Check(type)
     .Should().Be(expected);
 }
예제 #2
0
 public static TypeConstraint Or(this Type left, TypeConstraint right)
 {
     return(TypeConstraint.EqualsTo(left)
            .Or(right));
 }