I hate these disabled unit tests, #2
This commit is contained in:
parent
676a57de7b
commit
0398ae9695
|
|
@ -34,7 +34,7 @@ public class ContextCovariateUnitTest {
|
|||
verifyCovariateArray(values.getDeletions(), RAC.DELETIONS_CONTEXT_SIZE, clippedRead, covariate);
|
||||
}
|
||||
|
||||
public static void verifyCovariateArray(Long[] values, int contextSize, GATKSAMRecord read, Covariate contextCovariate) {
|
||||
public static void verifyCovariateArray(long[] values, int contextSize, GATKSAMRecord read, Covariate contextCovariate) {
|
||||
for (int i = 0; i < values.length; i++)
|
||||
Assert.assertEquals(contextCovariate.formatKey(values[i]), expectedContext(read, i, contextSize));
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@ import org.testng.Assert;
|
|||
import org.testng.annotations.BeforeClass;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import java.util.BitSet;
|
||||
|
||||
/**
|
||||
* @author Mauricio Carneiro
|
||||
* @since 3/1/12
|
||||
|
|
@ -47,7 +45,7 @@ public class ReadGroupCovariateUnitTest {
|
|||
|
||||
}
|
||||
|
||||
private void verifyCovariateArray(Long[] values, String expected) {
|
||||
private void verifyCovariateArray(long[] values, String expected) {
|
||||
for (Long value : values) {
|
||||
String actual = covariate.formatKey(value);
|
||||
Assert.assertEquals(actual, expected);
|
||||
|
|
|
|||
Loading…
Reference in New Issue