コード例 #1
0
    // Test case 2: inste that min =1
    public void MinTest()
    {
        int min             = 1;
        var numberWizardMin = new NumberWizards().getMin();

        // Test if max Value of our game is equal to 1000.
        Assert.AreEqual(min, numberWizardMin);
    }
コード例 #2
0
    public void MaxTest()
    {
        int max             = 1000;
        var numberWizardMax = new NumberWizards().getMax();

        // Test if max Value of our game is equal to 1000.
        Assert.AreEqual(max, numberWizardMax);
    }