Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Test
- public void testConstructorEmpty() {
- System.out.println("* StatisticsJUnit4Test: method 1.3 - constructor (some values out of range)");
- int[] x = {};
- Statistics instance = new Statistics(x, 30);
- int[] result = instance.getValues();
- int[] empty = {};
- assertArrayEquals(empty, result);
- // TODO review the generated test code and remove the default call to fail.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement