Example #1
0
    public void TestNwd(int a, int b, int expected)
    {
        var result = SumFractions.Nwd(a, b);

        Assert.AreEqual(expected, result);

        int[,]  c = new int[, ] {
            { 1, 2 }, { 2, 9 }, { 3, 18 }, { 4, 24 }, { 6, 48 }
        };
    }