@@ -0,0 +1,1054 @@
+package owltools.cli;%0A%0Aimport org.junit.Test;%0A%0A/**%0A * Tests for %7B@link CommandRunner%7D.%0A * %0A * these are somewhat ad-hoc at the moment - output is written to stdout;%0A * no attempt made to check results%0A * %0A */%0Apublic class CommandRunnerMergeEquivSetTest extends AbstractCommandRunnerTest %7B%0A%09%0A%09@Test%0A%09public void testMergeEquivalent() throws Exception %7B%0A%09%09String obo = %22http://purl.obolibrary.org/obo%22;%0A%09%09load(%22merge-equiv-test.obo%22);%0A%09%09%0A%09%09run(%22--reasoner elk%22);%0A%09%09// note: ID space is actually %22U%22 in file%0A%09%09run(%22--merge-equivalence-sets -s MA 1 -s FMA 2 -s U 3 -s HP 1 -s MP 2%22);%0A%09%09run(%22-o -f obo --no-check target/equiv-set-merged.obo%22);%0A%0A%09%7D%0A%09%0A%09@Test%0A%09public void testMergeEquivalentUniqLabel() throws Exception %7B%0A%09%09String obo = %22http://purl.obolibrary.org/obo%22;%0A%09%09load(%22merge-equiv-test.obo%22);%0A%09%09%0A%09%09run(%22--reasoner elk%22);%0A%09%09// note: ID space is actually %22U%22 in file%0A%09%09run(%22--merge-equivalence-sets -s MA 1 -s FMA 2 -s U 3 -s HP 1 -s MP 2 -l U 5 -l MP 2 -d MP 1 -d HP 2 -d U 5 -c FMA 1 -c U 5%22);%0A%09%09run(%22-o -f obo target/equiv-set-merged2.obo%22);%0A%0A%09%7D%0A%09%0A%7D%0A

Test for --merge-equivalence-sets