예제 #1
0
        public void SimplifiedFractions_1()
        {
            var solution = new _1447_SimplifiedFractions();
            var result   = solution.SimplifiedFractions(2);

            AssertHelper.AssertList(new string[] { "1/2" }, result);
        }
예제 #2
0
        public void SimplifiedFractions_3()
        {
            var solution = new _1447_SimplifiedFractions();
            var result   = solution.SimplifiedFractions(4);

            AssertHelper.AssertList(new string[] { "1/2", "1/3", "2/3", "1/4", "3/4" }, result);
        }