Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed May 28, 2024
1 parent 5403a86 commit 2cc03d0
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@
public class TimeUDPClientTest {

@Test
public void test() {
public void testConstructor() {
try (TimeUDPClient client = new TimeUDPClient()) {
// empty
}
}

@Test
public void testToTime() {
final byte[] timeData = new byte[4];
assertEquals(0, TimeUDPClient.toTime(timeData));
}
Expand Down

0 comments on commit 2cc03d0

Please sign in to comment.