Skip to content

Commit

Permalink
Add a new test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lifove committed Jun 6, 2016
1 parent 542236c commit 94915de
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/test/java/net/lifove/clami/CLAMITest2.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package net.lifove.clami;


import static org.junit.Assert.*;

import org.junit.Test;

public class CLAMITest2 {

@Test
public void testRunner() {

String[] args = {"-f","../../Documents/CDDP/CDDP/data/Relink/Zxing.arff","-l","isDefective","-p","TRUE","","--suppress"};
CLAMI runner = new CLAMI();
runner.runner(args);

args[6] = "-m";
runner.runner(args);

assertEquals(runner.posLabelValue,"TRUE");
}

}

0 comments on commit 94915de

Please sign in to comment.