예제 #1
0
 public void testToString() {
   final PacBioParams params = PacBioParams.builder().create();
   TestUtils.containsAll(
       params.toString(),
       " directory=" + null,
       " reads=" + null,
       " graph=" + null,
       " trimGraph=" + false);
 }
예제 #2
0
 public void testAssign() {
   final List<File> reads = Arrays.asList(new File("foo"));
   final File graph = new File("graph");
   final File out = new File("out");
   final PacBioParams pacBioParams =
       PacBioParams.builder().directory(out).reads(reads).graph(graph).trimGraph(true).create();
   assertEquals(graph, pacBioParams.graph());
   assertEquals(reads, pacBioParams.reads());
   assertEquals(out, pacBioParams.directory());
   assertTrue(pacBioParams.trimGraph());
   assertEquals(new File(out, "bar"), pacBioParams.file("bar"));
 }