コード例 #1
0
    public void FactorCount()
    {
        var expected = 12;
        var actual   = Factorization.FactorCount(90);

        Assert.Equal(expected, actual);
    }
コード例 #2
0
    public void FactorCountZero()
    {
        var expected = 0;
        var actual   = Factorization.FactorCount(0);

        Assert.Equal(expected, actual);
    }