Skip to content

Commit

Permalink
Added 3 test cases to show meyerjp3#5
Browse files Browse the repository at this point in the history
  • Loading branch information
pere authored and pere committed May 11, 2015
1 parent 3309c2b commit af6322e
Showing 1 changed file with 47 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,51 @@ public void incrementalTwoStepTest(){

}


@Test
public void emptyCasesTest1() {
double[][] caseMatrix = new double[2][2];

caseMatrix[0][0] = 0;
caseMatrix[0][1] = 1;
caseMatrix[1][0] = 0;
caseMatrix[1][1] = 16;

new PolychoricTwoStep(caseMatrix);
}

@Test
public void emptyCasesTest2() {
double[][] caseMatrix = new double[2][2];

caseMatrix[0][0] = 0;
caseMatrix[0][1] = 0;
caseMatrix[1][0] = 0;
caseMatrix[1][1] = 16;

new PolychoricTwoStep(caseMatrix);
}

@Test
public void emptyCasesTest3() {
double[][] caseMatrix = new double[2][2];

caseMatrix[0][0] = 0;
caseMatrix[0][1] = 0;
caseMatrix[1][0] = 1;
caseMatrix[1][1] = 16;

new PolychoricTwoStep(caseMatrix);
}

@Test
public void emptyCasesTest4() {
double[][] caseMatrix = new double[2][2];

caseMatrix[0][0] = 1;
caseMatrix[0][1] = 0;
caseMatrix[1][0] = 0;
caseMatrix[1][1] = 16;

new PolychoricTwoStep(caseMatrix);
}
}

0 comments on commit af6322e

Please sign in to comment.