예제 #1
0
 public void TryCreateReturnsFalseForIncompatibleType()
 {
     ConstructorConverter <int> .TryCreate(out _).ShouldBeFalse();
 }
예제 #2
0
 public void TryCreateReturnsTrueForCompatibleType()
 {
     ConstructorConverter <ConstructableFromString> .TryCreate(out _).ShouldBeTrue();
 }