From f59c8c04e81a467143d2fcef4ced7ed07e0b17d0 Mon Sep 17 00:00:00 2001 From: mo Date: Wed, 24 Apr 2019 22:16:52 -0600 Subject: add a couple of assertions --- my-app/src/test/java/ca/mokhan/app/AppTest.java | 50 ++++++++++++------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'my-app/src/test/java/ca/mokhan/app/AppTest.java') diff --git a/my-app/src/test/java/ca/mokhan/app/AppTest.java b/my-app/src/test/java/ca/mokhan/app/AppTest.java index e113857..6242c56 100644 --- a/my-app/src/test/java/ca/mokhan/app/AppTest.java +++ b/my-app/src/test/java/ca/mokhan/app/AppTest.java @@ -7,32 +7,32 @@ import junit.framework.TestSuite; /** * Unit test for simple App. */ -public class AppTest - extends TestCase +public class AppTest extends TestCase { - /** - * Create the test case - * - * @param testName name of the test case - */ - public AppTest( String testName ) - { - super( testName ); - } + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppTest.class ); - } + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } - /** - * Rigourous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue(true); + assertFalse(false); + } } -- cgit v1.2.3