Fix ShapeTest typos

This commit is contained in:
Alex Herbert 2020-03-14 07:59:12 +00:00
parent a1dd122342
commit e3484deb51
1 changed files with 2 additions and 2 deletions

View File

@ -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");