예제 #1
0
        public void DoesSix_Return_OneEighty()
        {
            ClockAngle testClockAngle = new ClockAngle();

            Assert.AreEqual(180, testClockAngle.CalculateClockAngle(6, 00));
        }
예제 #2
0
        public void DoesElevenOne_Return_ThirtyFivePointFive()
        {
            ClockAngle testClockAngle = new ClockAngle();

            Assert.AreEqual(35.5, testClockAngle.CalculateClockAngle(11, 1));
        }
예제 #3
0
        public void DoesTwelveOClock_Return_Zero()
        {
            ClockAngle testClockAngle = new ClockAngle();

            Assert.AreEqual(0, testClockAngle.CalculateClockAngle(12, 0));
        }
예제 #4
0
        public void DoesSixThirty_Return_Fifteen()
        {
            ClockAngle testClockAngle = new ClockAngle();

            Assert.AreEqual(15, testClockAngle.CalculateClockAngle(6, 30));
        }