Projet L3

Sign in or create your account | Project List | Help

Projet L3 Commit Details

Date:2010-01-14 12:23:00 (7 months 23 days ago)
Author:Antoine Millet
Commit:62e1210c8587d1e5fc76029d9e65b95a2a555e7a
Message:Suppression des tests dans la classe Time

Files: src/modele/Time.java (1 diff)

Change Details

src/modele/Time.java
3434        s = (this.secs % 3600) % 60;
3535        return "<Time " + h + "h" + m + "m" + s + "s>";
3636    }
37
38    public static void main(String[] args) {
39        Time t1 = new Time(10, 30, 24);
40        Time t2 = new Time(3600);
41        assert t1.toString().equals("<Time 10h30m24s>");
42        assert t2.toString().equals("<Time 1h0m0s>");
43    }
4437}

Archive Download the corresponding diff file

Branches:
master