JUNIT_GLAB_306_INTELLIJ

JUNIT_GLAB_306_INTELLIJ gentle intro

Goal 1:

WHAT YOU NEED TODO:

  1. get code up and running on your machine.

  2. make this test MyArrayTest FAIL.

  3. Explain WHY

     assertEquals("Tony",tester.getNameAtIndex(2));
     assertEquals("Mike",tester.getNameAtIndex(0));
     
     tester.addEntryToArray("Jared");
     assertEquals("Jared",tester.getNameAtIndex(3));
    

Passes the test.

Upload screen shots of code and results:

==============================================================

Goal 2

WHAT YOU NEED TODO:

in AppTest please implement the code to satisfy this goal. ( then upload screens shot of code && results )

public class AppTest {

@Test
public void testAddressLookUp() {
    //======================== 
    // GOAL:   Test that an Address Object exists in the database
    // with city="nyc"       
    //=========================

}