예제 #1
0
        public void Numerator8Denominator12Returns4()
        {
            var kata = new CoughSyrupGCD();

            var result = kata.CalcGCD(8, 12);

            Assert.AreEqual(4, result);
        }
예제 #2
0
        public void Numerator2Denominator3Returns1()
        {
            var kata = new CoughSyrupGCD();

            var result = kata.CalcGCD(2, 3);

            Assert.AreEqual(1, result);
        }