public void ExecuteCast() { TestingFacade.RunMethodTest(ExecuteCast); }
public void ExecuteAddConvertable() { TestingFacade.RunMethodTest(ExecuteAddConvertable); }
public void ExecuteAssignNonNullableImplicit() { TestingFacade.RunMethodTest(ExecuteAssignNonNullableImplicit); }
public void ExecuteIncrementNullable() { TestingFacade.RunMethodTest(ExecuteIncrementNullable); }
public void CounterCondition() { TestingFacade.RunMethodTest(CounterCondition); }
public void ExecuteBoxNull() { TestingFacade.RunMethodTest(ExecuteBoxNull); }
public void UnwrapNullableImplicit() { Assert.That( () => TestingFacade.RunMethodTest(UnwrapNullableImplicit), Throws.TypeOf <InvalidCastException>().With.Message.StartsWith("Cannot convert type from 'System.Nullable`1[[System.Int32")); }
public void And2() { TestingFacade.RunMethodTest(And2); }
public void Equality1() { TestingFacade.RunMethodTest(Equality1); }
public void OrInAnd4() { TestingFacade.RunMethodTest(OrInAnd4); }
public void AndInOr5() { TestingFacade.RunMethodTest(AndInOr5); }
public void Or4() { TestingFacade.RunMethodTest(Or4); }
public void ExecuteWithNullableArg() { TestingFacade.RunMethodTest(ExecuteWithNullableArg); }
public void ExecuteWithValueTypeArg() { TestingFacade.RunMethodTest(ExecuteWithValueTypeArg); }
public void ExecuteUnbox() { TestingFacade.RunMethodTest(ExecuteUnbox); }
public void ExecuteValueType() { TestingFacade.RunMethodTest(ExecuteValueType); }
public void UnwrapNullableNull() { Assert.That( () => TestingFacade.RunMethodTest(UnwrapNullableNull), Throws.TypeOf <TargetInvocationException>().With.InnerException.Message.EqualTo("Nullable object must have a value.")); }
public void UnwrapNullableValue() { TestingFacade.RunMethodTest(UnwrapNullableValue); }
public void IncrementNullableNonInt() { TestingFacade.RunMethodTest(ExecuteIncrementNullableNonInt); }
public void ExecuteCompareNullables() { TestingFacade.RunMethodTest(ExecuteCompareNullables); }
public void ExecuteWrapNullable() { TestingFacade.RunMethodTest(ExecuteWrapNullable); }
public void ExecuteAdd() { TestingFacade.RunMethodTest(ExecuteAdd); }
public void ExecuteConditionalInt() { TestingFacade.RunMethodTest(ExecuteConditionalInt); }
public void FalseVarCondition() { TestingFacade.RunMethodTest(FalseVarCondition); }