Lines Matching refs:arr
25 uint8_t arr[2] = { 0xff, 0xff }; in TEST() local
26 EXPECT_FALSE(testBitInRange(arr, 0, 0)); in TEST()
27 EXPECT_FALSE(testBitInRange(arr, 1, 0)); in TEST()
31 uint8_t arr[1]; in TEST() local
32 arr[0] = 0; in TEST()
33 EXPECT_FALSE(testBitInRange(arr, 0, 8)); in TEST()
37 uint8_t arr[1]; in TEST() local
39 arr[0] = 1 << i; in TEST()
40 EXPECT_TRUE(testBitInRange(arr, 0, 8)); in TEST()
45 uint8_t arr[1] = { 0x10 }; in TEST() local
47 EXPECT_FALSE(testBitInRange(arr, 0, i)); in TEST()
50 EXPECT_TRUE(testBitInRange(arr, 0, i)); in TEST()
55 uint8_t arr[1] = { 0x10 }; in TEST() local
57 EXPECT_TRUE(testBitInRange(arr, i, 8)); in TEST()
60 EXPECT_FALSE(testBitInRange(arr, i, 8)); in TEST()
66 uint8_t arr[3] = { 0x00, 0x08, 0x01 }; in TEST() local
70 EXPECT_FALSE(testBitInRange(arr, start, end)) in TEST()
73 EXPECT_TRUE(testBitInRange(arr, start, end)) in TEST()