public void ConvertFrom_StringEmpty_InternetMediaTypeEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(InternetMediaType.Empty, string.Empty); } }
public void ConvertFromString_StringValue_TestStruct() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(LocalDateTimeTest.TestStructNoMilliseconds, LocalDateTimeTest.TestStructNoMilliseconds.ToString()); } }
public void ConvertFrom_StringEmpty_HouseNumberEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(HouseNumber.Empty, string.Empty); } }
public void ConvertFrom_StringEmpty_CryptographicSeedEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(CryptographicSeed.Empty, string.Empty); } }
public void ConvertFrom_StringEmpty_InternationalBankAccountNumberEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(InternationalBankAccountNumber.Empty, string.Empty); } }
public void ConvertToString_TestStruct_StringValue() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertToStringEquals(InternationalBankAccountNumberTest.TestStruct.ToString(), InternationalBankAccountNumberTest.TestStruct); } }
public void ConvertFrom_StringEmpty_MoneyEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(Money.Zero, "0"); } }
public void ConvertFrom_StringEmpty_BusinessIdentifierCodeEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(BusinessIdentifierCode.Empty, string.Empty); } }
public void ConvertFromString_StringValue_TestStruct() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(GenderTest.TestStruct, GenderTest.TestStruct.ToString(CultureInfo.InvariantCulture)); } }
public void ConvertFrom_StringEmpty_CountryEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(Country.Empty, string.Empty); } }
public void ConvertToString_TestStruct_StringValue() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertToStringEquals(EloTest.TestStruct.ToString(), EloTest.TestStruct); } }
public void ConvertFrom_StringNull_BankIdentifierCodeEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(BankIdentifierCode.Empty, (string)null); } }
public void ConvertFrom_StringEmpty_EmailAddressEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(EmailAddress.Empty, string.Empty); } }
public void ConvertFromString_StringValue_TestStruct() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(TestStruct, "Male"); } }
public void ConvertFrom_StringNull_GenderEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(Gender.Empty, (string)null); } }
public void ConvertFromString_StringEmpty_GenderEmpty() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(Gender.Empty, string.Empty); } }
public void ConvertToString_TestStruct_StringValue() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertToStringEquals(BankIdentifierCodeTest.TestStruct.ToString(), BankIdentifierCodeTest.TestStruct); } }
public void ConvertFromString_StringValue_TestStruct() { using (new CultureInfoScope("en-GB")) { TypeConverterAssert.ConvertFromEquals(EloTest.TestStruct, EloTest.TestStruct.ToString()); } }
public void CanConvertToString_Elo_IsTrue() { TypeConverterAssert.CanConvertToString(typeof(Elo)); }
public void CanConvertToInt32() { TypeConverterAssert.ConvertToEquals(1600, (Elo)1600); }
public void CanNotConvertFromInt32() { TypeConverterAssert.ConvertFromEquals((Elo)1600, 1600); }
public void ConverterExists_Elo_IsTrue() { TypeConverterAssert.ConverterExists(typeof(Elo)); }
public void CanConvertToString_EmailAddress_IsTrue() { TypeConverterAssert.CanConvertToString(typeof(EmailAddress)); }
public void ConvertFromInstanceDescriptor_Percentage_Successful() { TypeConverterAssert.ConvertFromInstanceDescriptor(typeof(Percentage)); }
public void ConverterExists_EmailAddress_IsTrue() { TypeConverterAssert.ConverterExists(typeof(EmailAddress)); }
public void CanConvertToString_Gender_IsTrue() { TypeConverterAssert.CanConvertToString(typeof(Gender)); }
public void ConverterExists_Gender_IsTrue() { TypeConverterAssert.ConverterExists(typeof(Gender)); }
public void CanNotConvertToInt32_EmailAddress_IsTrue() { TypeConverterAssert.CanNotConvertTo(typeof(EmailAddress), typeof(Int32)); }
public void CanNotConvertToInt32_Gender_IsTrue() { TypeConverterAssert.CanNotConvertTo(typeof(Gender), typeof(Int32)); }
public void CanConvertToString_Percentage_IsTrue() { TypeConverterAssert.CanConvertToString(typeof(Percentage)); }