Lines Matching refs:expected
57 /* Define expected result by manually aligning the raw bytes, and
63 /* Make a 16/32/64 byte read from the aligned location, and copy to expected */
64 uint64_t expected = 0;
67 expected = *raw_aligned_16;
70 expected = *raw_aligned_32;
73 expected = raw_aligned_64;
77 TEST_EQUAL(r, expected);
107 uint64_t input = 0, expected = 0;
109 TEST_ASSERT(parse_hex_string(expected_str, &expected));
111 /* Check against expected result */
126 TEST_EQUAL(r, expected);
169 uint8_t expected = b;
197 TEST_EQUAL(actual, expected);
202 uint8_t expected = b;
218 TEST_EQUAL(actual, expected);
223 uint8_t expected = b;
233 TEST_EQUAL(actual, expected);
289 /* Build up expected value byte by byte, in either big or little endian format */
290 uint64_t expected = 0;
294 expected |= b << shift;
298 TEST_EQUAL(read, expected);