static bool test_function_build_id_field(void) { struct iphdr hdr; bool success = true; hdr.id = cpu_to_be16(1234); success &= assert_equals_be32(cpu_to_be32(1234), build_id_field(&hdr), "Simple"); return success; }
static bool test_function_build_id_field(void) { struct iphdr hdr; bool success = true; hdr.id = cpu_to_be16(1234); success &= ASSERT_BE32(1234, build_id_field(&hdr), "Simple"); return success; }