public void TestNotEqualToByte() { var a = Convert.ToByte("1"); var b = Convert.ToByte("2"); Assert.IsTrue(NotEqualToComparison.NotEqualTo(a, b)); }
public void TestNotEqualToDate() { var now = DateTime.Now; Assert.IsTrue(NotEqualToComparison.NotEqualTo(now, "09/06/2018 10:21:00.000")); Assert.IsFalse(NotEqualToComparison.NotEqualTo(DateTime.Parse("09/06/2018 10:21:00.000"), "09/06/2018 10:21:00.000")); Assert.IsTrue(NotEqualToComparison.NotEqualTo(DateTime.Today.AddHours(1), "today")); Assert.IsTrue(NotEqualToComparison.NotEqualTo(DateTime.Today, "today -1")); Assert.IsTrue(NotEqualToComparison.NotEqualTo(DateTime.Today, "today +1")); }
public void TestNotEqualToStringNegative() { Assert.IsFalse(NotEqualToComparison.NotEqualTo(";wpioemcopiwecmwc", ";wpioemcopiwecmwc")); }
public void TestNotEqualToBool() { Assert.IsTrue(NotEqualToComparison.NotEqualTo(true, false)); Assert.IsFalse(NotEqualToComparison.NotEqualTo(false, false)); }
public void TestNotEqualToChar() { Assert.IsTrue(NotEqualToComparison.NotEqualTo('h', 'g')); }
public void TestNotEqualToFloat() { Assert.IsTrue(NotEqualToComparison.NotEqualTo(1289.00F, 1290.00F)); }
public void TestNotEqualToDouble() { Assert.IsTrue(NotEqualToComparison.NotEqualTo(1289.00, 1290.00)); }
public void TestNotEqualToUInt64() { Assert.IsTrue(NotEqualToComparison.NotEqualTo(ulong.MaxValue, ulong.MinValue)); }
public void TestNotEqualToUInt32() { Assert.IsTrue(NotEqualToComparison.NotEqualTo(uint.MaxValue, uint.MinValue)); }
public void TestNotEqualToInt() { Assert.IsTrue(NotEqualToComparison.NotEqualTo(1289, 1290)); }
public void TestNotEqualToString() { Assert.IsTrue(NotEqualToComparison.NotEqualTo(";wpioemcopiwecmwc", ";wpioemcopiwecmwC")); }
public void TestNotEqualToNull() { //Assert.IsTrue(EqualToComparison.EqualTo(null, "1")); Assert.IsTrue(NotEqualToComparison.NotEqualTo(null, ";wpioemcopiwecmwC")); }
public void TestNotEqualToIntNegative() { Assert.IsFalse(NotEqualToComparison.NotEqualTo(1, 1)); }