equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
47 public void testSuccess() { |
47 public void testSuccess() { |
48 assertTrue(invoke("6")); |
48 assertTrue(invoke("6")); |
49 assertTrue(invoke("7")); |
49 assertTrue(invoke("7")); |
50 assertTrue(invoke("8")); |
50 assertTrue(invoke("8")); |
51 assertTrue(invoke("9")); |
51 assertTrue(invoke("9")); |
|
52 assertTrue(invoke("10")); |
52 } |
53 } |
53 |
54 |
54 @Test |
55 @Test |
55 public void testFailure() { |
56 public void testFailure() { |
56 assertFalse(invoke("5")); |
57 assertFalse(invoke("5")); |