@Test(dataProvider="buildByStringDataProvider")
public void testBuildByString(final String string, final int kmerSize, final int vertexCount, final int edgeCount) {
final HaplotypeGraph g = new HaplotypeGraph(string);
Assert.assertEquals(g.getKmerSize(),kmerSize,g.toString());
Assert.assertEquals(g.vertexSet().size(),vertexCount,g.toString());
Assert.assertEquals(g.edgeSet().size(),edgeCount,g.toString());
}
@Test(dataProvider="equalTestDataProvider")
public void testEquals(final HaplotypeGraph one, final HaplotypeGraph two, final boolean expected) {
Assert.assertEquals(one.equals(two),expected);