Fix ShapeTest typos
This commit is contained in:
parent
a1dd122342
commit
e3484deb51
|
@ -314,10 +314,10 @@ public class ShapeTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests that if the number of bits is less than 8 an exception is thrown
|
* Tests that if the number of bits is less than 1 an exception is thrown
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void constructor_probability_bits_hash__BadNumberOfBitsTest() {
|
public void constructor_probability_bits_hash_BadNumberOfBitsTest() {
|
||||||
try {
|
try {
|
||||||
new Shape(testFunction, 0.5, 0, 1);
|
new Shape(testFunction, 0.5, 0, 1);
|
||||||
fail("Should have thrown IllegalArgumentException");
|
fail("Should have thrown IllegalArgumentException");
|
||||||
|
|
Loading…
Reference in New Issue