samples/apifest1/day2/welltestedsolution/test/org/netbeans/apifest/boolcircuit/RealTest.java
1.1 --- a/samples/apifest1/day2/welltestedsolution/test/org/netbeans/apifest/boolcircuit/RealTest.java Sat Jun 14 09:56:12 2008 +0200
1.2 +++ b/samples/apifest1/day2/welltestedsolution/test/org/netbeans/apifest/boolcircuit/RealTest.java Sat Jun 14 09:56:16 2008 +0200
1.3 @@ -51,7 +51,8 @@
1.4 *
1.5 * Feed this circuit with x1=true, x2=false, assert result is false
1.6 *
1.7 - * Feed the same circuit with x1=false, x2=true, assert result is true
1.8 + * Feed the same circuit with x1=false, x2=true, assert result is
1.9 + * true
1.10 *
1.11 * Feed the same circuit with x1=0.0, x2=1.0, assert result is 1.0
1.12 *
1.13 @@ -71,12 +72,12 @@
1.14 assertEquals("0.0, 1.0", 1.0, c.evaluateFuzzy(0.0, 1.0), 0.0);
1.15 }
1.16
1.17 - /** Ensure that one variable cannot be filled with two different values.
1.18 - * Create a circuit for x1 and x1. Make sure that for any usage of your
1.19 - * API that would not lead to x1 * x1 result, an exception is thrown.
1.20 - * For example if there was a way to feed the circuit with two different
1.21 - * values 0.3 and 0.5 an exception is thrown indicating that this is
1.22 - * improper use of the circuit.
1.23 + /** Ensure that one variable cannot be filled with two different
1.24 + * values. Create a circuit for x1 and x1. Make sure that for any
1.25 + * usage of your API that would not lead to x1 * x1 result, an
1.26 + * exception is thrown. For example if there was a way to feed the
1.27 + * circuit with two different values 0.3 and 0.5 an exception is
1.28 + * thrown indicating that this is improper use of the circuit.
1.29 */
1.30 public void testImproperUseOfTheCircuit() {
1.31 // does not apply