source: liacs/TOOS/assignment1/src/CensusTest.java@ 208

Last change on this file since 208 was 208, checked in by Rick van der Zwet, 14 years ago

Somehow more usable test output

File size: 498 bytes
RevLine 
[208]1package nl.rickvanderzwet.toos.assignment1;
2
3import java.util.Calendar;
4import java.util.HashSet;
5import java.util.Enumeration;
6
7import nl.rickvanderzwet.toos.assignment1.Voter;
8import nl.rickvanderzwet.toos.assignment1.Census;
9
[207]10public class CensusTest extends junit.framework.TestCase {
11
[208]12 public void testEmptyVoteList() {
13 Census c = new Census();
14 assertTrue(c.census(null).equals(null));
[207]15 }
16
[208]17 public void testNoVote() {
[207]18 fail("An error message");
19 }
20
21}
Note: See TracBrowser for help on using the repository browser.