Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 110) sorted by relevance

12345

/NextBSD/contrib/ntp/sntp/unity/
HDunity.h76 #define TEST_ASSERT_EQUAL_INT(expected, actual) … argument
77 #define TEST_ASSERT_EQUAL_INT8(expected, actual) … argument
78 #define TEST_ASSERT_EQUAL_INT16(expected, actual) … argument
79 #define TEST_ASSERT_EQUAL_INT32(expected, actual) … argument
80 #define TEST_ASSERT_EQUAL_INT64(expected, actual) … argument
81 #define TEST_ASSERT_EQUAL(expected, actual) … argument
82 #define TEST_ASSERT_NOT_EQUAL(expected, actual) … argument
83 #define TEST_ASSERT_EQUAL_UINT(expected, actual) … argument
84 #define TEST_ASSERT_EQUAL_UINT8(expected, actual) … argument
85 #define TEST_ASSERT_EQUAL_UINT16(expected, actual) … argument
[all …]
HDunity_internals.h590 #define UNITY_TEST_ASSERT_EQUAL_INT(expected, actual, line, message) Un… argument
591 #define UNITY_TEST_ASSERT_EQUAL_INT8(expected, actual, line, message) Un… argument
592 #define UNITY_TEST_ASSERT_EQUAL_INT16(expected, actual, line, message) Un… argument
593 #define UNITY_TEST_ASSERT_EQUAL_INT32(expected, actual, line, message) Un… argument
594 #define UNITY_TEST_ASSERT_EQUAL_UINT(expected, actual, line, message) Un… argument
595 #define UNITY_TEST_ASSERT_EQUAL_UINT8(expected, actual, line, message) Un… argument
596 #define UNITY_TEST_ASSERT_EQUAL_UINT16(expected, actual, line, message) Un… argument
597 #define UNITY_TEST_ASSERT_EQUAL_UINT32(expected, actual, line, message) Un… argument
598 #define UNITY_TEST_ASSERT_EQUAL_HEX8(expected, actual, line, message) Un… argument
599 #define UNITY_TEST_ASSERT_EQUAL_HEX16(expected, actual, line, message) Un… argument
[all …]
HDunity_fixture.h76 #define TEST_ASSERT_POINTERS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_PTR(expected, actual) argument
77 #define TEST_ASSERT_BYTES_EQUAL(expected, actual) TEST_ASSERT_EQUAL_HEX8(0xff & (expected), 0x… argument
80 #define LONGS_EQUAL(expected, actual) TEST_ASSERT_EQUAL_INT((expected), (actual)) argument
81 #define STRCMP_EQUAL(expected, actual) TEST_ASSERT_EQUAL_STRING((expected), (actual… argument
82 #define DOUBLES_EQUAL(expected, actual, delta) TEST_ASSERT_FLOAT_WITHIN(((expected), (actua… argument
HDunity.c387 static void UnityPrintExpectedAndActualStrings(const char* expected, const char* actual) in UnityPrintExpectedAndActualStrings()
417 static int UnityCheckArraysForNull(UNITY_PTR_ATTRIBUTE const void* expected, UNITY_PTR_ATTRIBUTE co… in UnityCheckArraysForNull()
450 const _U_SINT expected, in UnityAssertBits()
470 void UnityAssertEqualNumber(const _U_SINT expected, in UnityAssertEqualNumber()
491 void UnityAssertEqualIntArray(UNITY_PTR_ATTRIBUTE const void* expected, in UnityAssertEqualIntArray()
609 void UnityAssertEqualFloatArray(UNITY_PTR_ATTRIBUTE const _UF* expected, in UnityAssertEqualFloatArray()
666 const _UF expected, in UnityAssertFloatsWithin()
770 void UnityAssertEqualDoubleArray(UNITY_PTR_ATTRIBUTE const _UD* expected, in UnityAssertEqualDoubleArray()
827 const _UD expected, in UnityAssertDoublesWithin()
933 const _U_SINT expected, in UnityAssertNumbersWithin()
[all …]
/NextBSD/contrib/ntp/tests/libntp/
HDcaltontp.c15 u_long expected = 3486372600UL; // This is the timestamp above. in test_DateGivenMonthDay() local
26 u_long expected = 3486372600UL; // This is the timestamp above. in test_DateGivenYearDay() local
38 u_long expected = 3549528000UL; in test_DateLeapYear() local
50 u_long expected = 0UL; in test_WraparoundDateIn2036() local
HDcaljulian.c53 IsEqual(const struct calendar expected, const struct calendar actual) in IsEqual()
99 struct calendar expected = {2010,160,6,9,14,0,0}; in test_RegularTime() local
114 struct calendar expected = {2012, 179, 6, 28, 20, 0, 0}; in test_LeapYear() local
129 struct calendar expected = {2036,0,2,7,6,28,15}; in test_uLongBoundary() local
144 struct calendar expected = {2036,0,2,7,6,28,16}; in test_uLongWrapped() local
HDdecodenetnum.c32 sockaddr_u expected; in test_IPv4AddressOnly() local
46 sockaddr_u expected; in test_IPv4AddressWithPort() local
71 sockaddr_u expected; in test_IPv6AddressOnly() local
103 sockaddr_u expected; in test_IPv6AddressWithPort() local
133 sockaddr_u expected; in test_IllegalCharInPort() local
HDstrtolfp.c34 l_fp expected = {{500},0}; in test_PositiveInteger() local
48 l_fp expected; in test_NegativeInteger() local
65 l_fp expected = {{500}, HALF}; in test_PositiveFraction() local
79 l_fp expected; in test_NegativeFraction() local
96 l_fp expected = {{300}, QUARTER_PROMILLE_APPRX}; in test_PositiveMsFraction() local
112 l_fp expected; in test_NegativeMsFraction() local
HDnetof.c31 sockaddr_u expected = CreateSockaddr4("172.16.0.0", NTP_PORT); in test_ClassBAddress() local
45 sockaddr_u expected = CreateSockaddr4("192.0.2.0", NTP_PORT); in test_ClassCAddress() local
63 sockaddr_u expected = CreateSockaddr4("10.20.30.40", NTP_PORT); in test_ClassAAddress() local
96 sockaddr_u expected; in test_IPv6Address() local
HDhextolfp.c22 l_fp expected = {{4096}, 0}; /* 16^3, no fraction part. */ in test_PositiveInteger() local
33 l_fp expected = {{-1}, 0}; in test_NegativeInteger() local
44 l_fp expected = {{8192}, HALF}; in test_PositiveFraction() local
55 l_fp expected = {{-1}, QUARTER}; /* -1 + 0.25 */ in test_NegativeFraction() local
HDcalyearstart.c29 const u_int32 expected = 3471292800UL; // 2010-01-01 00:00:00 in test_NoWrapInDateRange() local
37 const u_int32 expected = 3534364800UL; // 2012-01-01 00:00:00 in test_NoWrapInDateRangeLeapYear() local
45 const u_int32 expected = 4291747200UL; // 2036-01-01 00:00:00 in test_WrapInDateRange() local
HDtstotv.c16 const struct timeval expected = {50, 0}; in test_Seconds() local
29 const struct timeval expected = {50, 500000}; in test_MicrosecondsExact() local
42 const struct timeval expected = {50, 900}; in test_MicrosecondsRounding() local
HDtvtots.c18 l_fp expected = {{500}, 0}; in test_Seconds() local
36 l_fp expected = {{0}, HALF_PROMILLE_UP}; in test_MicrosecondsRounded() local
50 const l_fp expected = {{10}, HALF}; /* 0.5 exact */ in test_MicrosecondsExact() local
HDclocktime.c56 const u_int32 expected = timestamp; /* exactly the same. */ in test_CurrentYear() local
82 const u_int32 expected = 3486369600UL; /* 2010-06-24 12:00:00Z */ in test_CurrentYearFuzz() local
106 const u_int32 expected = timestamp; in test_TimeZoneOffset() local
127 const u_int32 expected = timestamp; in test_WrongYearStart() local
148 const u_int32 expected = 3471289200UL; in test_PreviousYear() local
169 const u_int32 expected = 3471296400UL; in test_NextYear() local
HDymd2yd.c21 int expected = 31+28+31+30+31+18; // 18 June non-leap year in test_NonLeapYearJune() local
35 int expected = 31+29+31+30+31+30+31+31+30+31+30+31; in test_LeapYearDecember() local
HDhumandate.c26 char expected[15]; in test_RegularTime() local
43 char expected[15]; in test_CurrentTime() local
HDssl_init.c33 size_t expected = TEST_MD5_DIGEST_LENGTH; in test_MD5KeyTypeWithDigestLength() local
44 size_t expected = TEST_SHA1_DIGEST_LENGTH; in test_SHA1KeyTypeWithDigestLength() local
HDrefnumtoa.c45 char * expected = stringStart; in test_LocalClock() local
70 char * expected = stringStart; in test_UnknownId() local
HDbuftvtots.c25 const l_fp expected = {{0 + JAN_1970}, 0}; in test_ZeroBuffer() local
44 const l_fp expected = {{5 + JAN_1970}, HALF}; in test_IntegerAndFractionalBuffer() local
/NextBSD/contrib/atf/atf-c/
HDmacros.h156 #define ATF_REQUIRE_EQ(expected, actual) \ argument
159 #define ATF_CHECK_EQ(expected, actual) \ argument
162 #define ATF_REQUIRE_EQ_MSG(expected, actual, fmt, ...) \ argument
166 #define ATF_CHECK_EQ_MSG(expected, actual, fmt, ...) \ argument
170 #define ATF_REQUIRE_STREQ(expected, actual) \ argument
174 #define ATF_CHECK_STREQ(expected, actual) \ argument
178 #define ATF_REQUIRE_STREQ_MSG(expected, actual, fmt, ...) \ argument
183 #define ATF_CHECK_STREQ_MSG(expected, actual, fmt, ...) \ argument
/NextBSD/lib/msun/tests/
HDconj_test.c78 complex long double expected; in main() local
84 __real__ expected = __real__ in = tests[2 * i]; in main() local
86 __imag__ expected = -cimag(in); in main() local
/NextBSD/contrib/ntp/sntp/tests/
HDutilities.c65 FinishDebugTest(const char * expected, in FinishDebugTest()
105 const char * expected = "2001:db8:85a3:8d3:1319:8a2e:370:7334"; in test_IPv6Address() local
121 struct pkt expected; in test_SetLiVnMode1() local
136 struct pkt expected; in test_SetLiVnMode2() local
/NextBSD/tools/regression/netinet6/inet6_rth/
HDtest_subr.c57 checkptr(caddr_t expected, caddr_t got, const char *desc) in checkptr()
90 checkstr(const char *expected, const char *got, size_t explen, const char *desc) in checkstr()
123 checknum(int expected, int got, int cmp, const char *desc) in checknum()
/NextBSD/sbin/dhclient/tests/
HDoption-domain-search.c40 char *expected = "example.org."; in one_domain_valid() local
114 char *expected = "example.org. example.com."; in two_domains_valid() local
188 char *expected = "example.org. foobar.org."; in two_domains_compressed() local
288 char *expected = "example.org. cl.foobar.com. fr.foobar.com."; in multiple_domains_valid() local
/NextBSD/contrib/apr-util/test/
HDabts.c230 void abts_int_equal(abts_case *tc, const int expected, const int actual, int lineno) in abts_int_equal()
244 void abts_int_nequal(abts_case *tc, const int expected, const int actual, int lineno) in abts_int_nequal()
259 void abts_str_equal(abts_case *tc, const char *expected, const char *actual, int lineno) in abts_str_equal()
276 void abts_str_nequal(abts_case *tc, const char *expected, const char *actual, in abts_str_nequal()
306 void abts_ptr_equal(abts_case *tc, const void *expected, const void *actual, int lineno) in abts_ptr_equal()

12345