コード例 #1
0
        public void CalcDegree_IsAlso90Deg_90()
        {
            Clock testAlso90 = new Clock();

            Assert.AreEqual(90, testAlso90.CalcDegree(9, 0));
        }
コード例 #2
0
        public void CalcDegree_Is0Deg_0()
        {
            Clock test0 = new Clock();

            Assert.AreEqual(0, test0.CalcDegree(12, 0));
        }
コード例 #3
0
        public void CalcDegree_Is90Deg_180()
        {
            Clock test180 = new Clock();

            Assert.AreEqual(180, test180.CalcDegree(6, 0));
        }