Fixed sails in and out test.

#bug #test
This commit is contained in:
Calum
2017-08-16 01:19:34 +12:00
parent dc8baa09a3
commit e3fbbd4590
2 changed files with 20 additions and 23 deletions
@@ -1,6 +1,7 @@
package seng302.visualiser.map;
import static junit.framework.TestCase.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
@@ -22,7 +23,7 @@ public class BoatSailAnimationToggleTest {
public void sailToggleTest() throws Exception {
assertFalse(yacht.getSailIn());
yacht.toggleSail();
assertFalse(yacht.getSailIn());
assertTrue(yacht.getSailIn());
}
}