예제 #1
0
 public void GetPointQuarterNegativeTests(int x, int y)
 {
     Assert.Throws <ArgumentException>(() => Branching.GetPointQuarter(x, y));
 }
예제 #2
0
        public void GetPointQuarterTests(int x, int y, int expected)
        {
            double actual = Branching.GetPointQuarter(x, y);

            Assert.AreEqual(expected, actual);
        }