public static void NotEqualsOpRightIAutoIncrement_GivenObjectsWithDifferentIncrement_ReturnsTrue() { const int initialValue = 12345; const int increment = 9876; var a = new AutoIncrement(initialValue, increment); var b = new FakeAutoIncrement(initialValue, 6789); Assert.That(a != b, Is.True); }
public static void EqualsOpLeftIAutoIncrement_GivenObjectsWithDifferentIncrement_ReturnsFalse() { const int initialValue = 12345; const int increment = 9876; var a = new FakeAutoIncrement(initialValue, increment); var b = new AutoIncrement(initialValue, 6789); Assert.That(a == b, Is.False); }
public static void NotEqualsOpRightIAutoIncrement_GivenObjectsWithEqualInputs_ReturnsFalse() { const int initialValue = 12345; const int increment = 9876; var a = new AutoIncrement(initialValue, increment); var b = new FakeAutoIncrement(initialValue, increment); Assert.That(a != b, Is.False); }
public static void EqualsOpLeftIAutoIncrement_GivenObjectsWithEqualInputs_ReturnsTrue() { const int initialValue = 12345; const int increment = 9876; var a = new FakeAutoIncrement(initialValue, increment); var b = new AutoIncrement(initialValue, increment); Assert.That(a == b, Is.True); }