public void TestLess() { HighCardScore two = new HighCardScore(CardValue.Two); HighCardScore three = new HighCardScore(CardValue.Three); Assert.AreEqual(-1, two.CompareTo(three)); }
public void TestTie() { HighCardScore two = new HighCardScore(CardValue.Two); HighCardScore anotherTwo = new HighCardScore(CardValue.Two); Assert.AreEqual(0, two.CompareTo(anotherTwo)); }
public void TestGreater() { HighCardScore two = new HighCardScore(CardValue.Two); HighCardScore three = new HighCardScore(CardValue.Three); Assert.AreEqual(1, three.CompareTo(two)); }