예제 #1
0
        public void ArcadeTest2()
        {
            long[] expected    = { 6, 5, 4, 2, 1 };
            long[] test        = { 50, 65, 77, 90, 102 };
            long[] leaderboard = { 100, 90, 90, 80, 75, 60 };
            long[] actual      = Arcade.Leaderboard(leaderboard, test);

            Assert.Equal(expected, actual);
        }
예제 #2
0
        public void ArcadeTest1()
        {
            long[] expected    = { 2, 4, 4, 2 };
            long[] test        = { 60, 10, 20, 50 };
            long[] leaderboard = { 62, 50, 25, 10 };
            long[] actual      = Arcade.Leaderboard(leaderboard, test);

            Assert.Equal(expected, actual);
        }