Skip to content
Snippets Groups Projects
Commit bd77c8be authored by Christopher Bohn's avatar Christopher Bohn :thinking:
Browse files

Created size() stub so we can test the size.

/tag have-size-stub
parent 802f3889
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,8 @@ public class MyStack {
public MyStack() {
super();
}
public int size() {
return Integer.MIN_VALUE;
}
}
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
......@@ -15,4 +16,9 @@ public class MyStackTest {
@After
public void tearDown() {
}
@Test
public void testEmptyStack() {
fail("need to ");
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment