Skip to content

Commit

Permalink
[test]: Implement unit test to assert correct version string
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Sep 27, 2016
1 parent 1d9bd16 commit ca5ba30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/com/arcticicestudio/nord/NordTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,9 @@ public void shouldReturnTheCorrectRGBColorCode() {
assertEquals(Nord.rgb(Nord.NORD14.get()), "rgb(163, 190, 140)");
assertEquals(Nord.rgb(Nord.NORD15.get()), "rgb(180, 142, 173)");
}

@Test
public void shouldReturnTheCorrectVersionString() {
assertEquals(Nord.NORD0.getVersion(), "0.1.0");
}
}

0 comments on commit ca5ba30

Please sign in to comment.