Changeset 208 for liacs/TOOS/assignment1/src
- Timestamp:
- Oct 25, 2010, 9:07:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
liacs/TOOS/assignment1/src/CensusTest.java
r207 r208 1 package nl.rickvanderzwet.toos.assignment1; 2 3 import java.util.Calendar; 4 import java.util.HashSet; 5 import java.util.Enumeration; 6 7 import nl.rickvanderzwet.toos.assignment1.Voter; 8 import nl.rickvanderzwet.toos.assignment1.Census; 9 1 10 public class CensusTest extends junit.framework.TestCase { 2 11 3 public void testNothing() { 12 public void testEmptyVoteList() { 13 Census c = new Census(); 14 assertTrue(c.census(null).equals(null)); 4 15 } 5 16 6 public void test WillAlwaysFail() {17 public void testNoVote() { 7 18 fail("An error message"); 8 19 }
Note:
See TracChangeset
for help on using the changeset viewer.