Skip to content

Commit

Permalink
added some test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
waterflow80 committed Aug 17, 2023
1 parent 5f81182 commit 68d0321
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ class SeqColMapConverterTest {
void setSeqColLevelOneMapConverterTest() {
SeqColLevelOneEntity levelOneEntity = seqColGenerator.generateLevelOneEntity();
Map<String, String> levelOneMap = seqColMapConverter.getSeqColLevelOneMap(levelOneEntity);
assertTrue(levelOneMap.keySet().size() >= 0); // At least we should have the "sequences", "lengths" and "names"
assertFalse(levelOneMap.keySet().isEmpty()); // At least we should have the "sequences", "lengths" and "names"
assertTrue(levelOneMap.containsKey("sequences"));
assertTrue(levelOneMap.containsKey("lengths"));
assertTrue(levelOneMap.containsKey("names"));
assertNotNull(levelOneMap.get("sequences"));
assertNotNull(levelOneMap.get("lengths"));
assertNotNull(levelOneMap.get("names"));
}

@Test
Expand Down

0 comments on commit 68d0321

Please sign in to comment.