public void CheckConvertFromStringTest() { FormatterUpperCase formatter = new FormatterUpperCase(); string expected = @"AB-CD@ÉF.G"; string source = @"ab-cd@éf.g"; string actual = ((IFormatter <string>)formatter).ConvertFromString(source); Assert.AreEqual(expected, actual); }
public void FormatterUnit() { FormatterUpperCase formatter = new FormatterUpperCase(); Assert.IsNull(formatter.Unit); }
public void CheckConvertFromStringEmptyTest() { FormatterUpperCase formatter = new FormatterUpperCase(); Assert.IsNull(formatter.ConvertFromString(String.Empty)); }
public void CheckConvertFromStringNullTest() { FormatterUpperCase formatter = new FormatterUpperCase(); Assert.IsNull(formatter.ConvertFromString(null)); }