public void Score7CompareToScore7()
        {
            ScoreEntry bunny = new ScoreEntry(7, "Bunny");
            ScoreEntry satan = new ScoreEntry(7, "Satan");
            int actualResult = bunny.CompareTo(satan);

            Assert.AreEqual(0, actualResult);
        }
Esempio n. 2
0
        public void Score7CompareToScore7()
        {
            ScoreEntry bunny        = new ScoreEntry(7, "Bunny");
            ScoreEntry satan        = new ScoreEntry(7, "Satan");
            int        actualResult = bunny.CompareTo(satan);

            Assert.AreEqual(0, actualResult);
        }
        public void Score11CompareToScore15()
        {
            ScoreEntry bunny = new ScoreEntry(11, "Bunny");
            ScoreEntry satan = new ScoreEntry(15, "Satan");
            int actualResult = bunny.CompareTo(satan);

            Assert.AreEqual(-1, actualResult);
        }
Esempio n. 4
0
        public void Score11CompareToScore15()
        {
            ScoreEntry bunny        = new ScoreEntry(11, "Bunny");
            ScoreEntry satan        = new ScoreEntry(15, "Satan");
            int        actualResult = bunny.CompareTo(satan);

            Assert.AreEqual(-1, actualResult);
        }