0

Hello can anyone help me with a problem

I have some code and I was wondering if i could email to you and get your input on it.

11th Feb 2019, 4:27 AM
Tony Saya
Tony Saya - avatar
2 odpowiedzi
+ 1
You may narrow down the scope of the problem, explain the issue, and post the code snippet you are having problems with, here, in Q&A. This place you are posting this in is exactly where you should be posting the programming problem.
11th Feb 2019, 5:11 AM
Hatsy Rei
Hatsy Rei - avatar
0
Yea I am having trouble with last 5 /** Example of using unit tests for this assignment. To run them on the command line, make * sure that the junit-cs211.jar is in the same directory. * * On Mac/Linux: * javac -cp .:junit-cs211.jar *.java # compile everything * java -cp .:junit-cs211.jar P1tester # run tests * * On windows replace colons with semicolons: (: with ;) * demo$ javac -cp .;junit-cs211.jar *.java # compile everything * demo$ java -cp .;junit-cs211.jar P1tester # run tests */ import org.junit.*; import static org.junit.Assert.*; import java.util.*; public class P1tester { public static void main(String args[]){ org.junit.runner.JUnitCore.main("P1tester"); } @Test public void test1_inOrder_00() { assertTrue(DataProcessor.inOrder(new int[]{})); } @Test public void test1_inOrder_01() { assertTrue(DataProcessor.inOrder(new int[]{0})); } @Test public void test1_inOrder_02() { assertTrue(DataProcessor.inOrder(new int[]{1})); } @Test public void test1_inOrder_03() { assertTrue(DataProcessor.inOrder(new i
11th Feb 2019, 5:12 AM
Tony Saya
Tony Saya - avatar