Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Test
- public void vaaraSyote() {
- int[] luvut = {42, 61, 15, -2};
- int[] jakauma = {1, 0, 0, 1, 0, 0};
- double pros = 50;
- try {
- testaa(luvut, jakauma, pros);
- } catch (Throwable e) {
- fail("Remember that scores outside the range 0-60 should be skipped\n"
- + "with input "+Arrays.toString(luvut)+" your code caused\n" +e);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment