From 7b731dd596f38d9449af1386c9b67b8bbb55e1fb Mon Sep 17 00:00:00 2001 From: Mauricio Carneiro Date: Tue, 30 Jul 2013 13:59:58 -0400 Subject: [PATCH] Removed native method call and fixed indentation. --- .../utils/pairhmm/CnyPairHMMUnitTest.java | 51 ++++++++----------- 1 file changed, 21 insertions(+), 30 deletions(-) diff --git a/protected/java/test/org/broadinstitute/sting/utils/pairhmm/CnyPairHMMUnitTest.java b/protected/java/test/org/broadinstitute/sting/utils/pairhmm/CnyPairHMMUnitTest.java index bdc06a6f0..14ab552e5 100644 --- a/protected/java/test/org/broadinstitute/sting/utils/pairhmm/CnyPairHMMUnitTest.java +++ b/protected/java/test/org/broadinstitute/sting/utils/pairhmm/CnyPairHMMUnitTest.java @@ -48,54 +48,45 @@ package org.broadinstitute.sting.utils.pairhmm; import org.broadinstitute.sting.BaseTest; import org.testng.Assert; -import org.testng.annotations.DataProvider; import org.testng.annotations.Test; -import java.util.ArrayList; -import java.util.List; - public class CnyPairHMMUnitTest extends BaseTest { - private native void puts(String text); @Test(enabled = true) public void testResultQueue() { - final double[] row1 = new double[] { 4.5, 53.1, 6.4 }; - final double[] row2 = new double[] { 1.0, 5.9, 6.9, 6.1, 19.8 }; - final double[] row3 = new double[] { 10.4, 9.101, 89.5, 9.8}; - final double[] row4 = new double[] { 7.3, 1.4, 5.67, 56.32 }; - CnyPairHMM.ResultQueue queue = new CnyPairHMM.ResultQueue(); + final double[] row1 = new double[] { 4.5, 53.1, 6.4 }; + final double[] row2 = new double[] { 1.0, 5.9, 6.9, 6.1, 19.8 }; + final double[] row3 = new double[] { 10.4, 9.101, 89.5, 9.8}; + final double[] row4 = new double[] { 7.3, 1.4, 5.67, 56.32 }; + CnyPairHMM.ResultQueue queue = new CnyPairHMM.ResultQueue(); - // Test inter-mixed push/pop operations produce the correct output - queue.push(row1); - queue.push(row2); + // Test inter-mixed push/pop operations produce the correct output + queue.push(row1); + queue.push(row2); - for (int i=0; i