Changed to match the example in the book
authorJaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:58:18 +0200
changeset 157ee434b99a4bf
parent 156 9c1770b9edf3
child 158 daad426b116d
Changed to match the example in the book
samples/individualsamples/test/org/apidesign/samples/HundredPercentCoverageTest.java
     1.1 --- a/samples/individualsamples/test/org/apidesign/samples/HundredPercentCoverageTest.java	Sat Jun 14 09:58:17 2008 +0200
     1.2 +++ b/samples/individualsamples/test/org/apidesign/samples/HundredPercentCoverageTest.java	Sat Jun 14 09:58:18 2008 +0200
     1.3 @@ -1,9 +1,6 @@
     1.4  package org.apidesign.samples;
     1.5  
     1.6 -import org.junit.After;
     1.7 -import org.junit.AfterClass;
     1.8  import org.junit.Before;
     1.9 -import org.junit.BeforeClass;
    1.10  import org.junit.Test;
    1.11  import static org.junit.Assert.*;
    1.12  
    1.13 @@ -27,6 +24,6 @@
    1.14      @Test
    1.15      public void stillThereIsAWayToFail() {
    1.16          assertEquals("init value - 10", 0, instance.add(-10));
    1.17 -        assertEquals("division", 0, instance.percentageFrom(30));
    1.18 +        assertEquals("division", 0, instance.percentageFrom(5));
    1.19      }
    1.20  }
    1.21 \ No newline at end of file