3 #include "ntp_stdlib.h"
4 #include "ntp_calendar.h"
5 #include "ntp.h" // Needed for MAX_MAC_LEN used in ntp_control.h
6 #include "ntp_control.h"
20 void test_PeerRestart(void) {
21 TEST_ASSERT_EQUAL_STRING("restart", eventstr(PEVNT_RESTART));
24 void test_SysUnspecified(void) {
25 TEST_ASSERT_EQUAL_STRING("unspecified", eventstr(EVNT_UNSPEC));
29 void test_ClockCodeExists(void) {
30 TEST_ASSERT_EQUAL_STRING("clk_unspec", ceventstr(CTL_CLK_OKAY));
33 void test_ClockCodeUnknown(void) {
34 TEST_ASSERT_EQUAL_STRING("clk_-1", ceventstr(-1));