예제 #1
0
        public void TestMedalChooser()
        {
            var medalChooser = new MedalChooser(_db, Log);
            var medal        = medalChooser.GetMedal(18539, new DateTime(2014, 11, 10));

            Assert.AreEqual(Medal.Gold, medal.Medal);
        }
예제 #2
0
        public void TestMedal()
        {
            var medalChooser = new MedalChooser(_db, Log);

            medalChooser.GetMedal(18626, DateTime.UtcNow);
        }