Example #1
0
    public void Es1948bisiesto()
    {
        Bisiesto bisiesto = new Bisiesto();

        int year = bisiesto.esbisisesto(1948);

        int yearoperation = year % 4;


        Assert.AreEqual(0, yearoperation);
    }
Example #2
0
    public void Es2000bisiesto()
    {
        Bisiesto bisiesto = new Bisiesto();

        int year = bisiesto.esbisisesto(2000);

        int yearoperation = year % 400;


        Assert.AreEqual(0, yearoperation);
    }