| 115 | u8 mock_buffer[256]; |
| 116 | |
| 117 | static void test_rdev_basics(void **state) |
| 118 | { |
| 119 | assert_int_equal(region_device_offset(&mock_rdev), 0); |
| 120 | assert_int_equal(region_device_sz(&mock_rdev), ~(size_t)0); |
| 121 | assert_int_equal(region_device_last(&mock_rdev), ~(size_t)0 - 1); |
| 122 | } |
| 123 | |
| 124 | /* |
| 125 | * This function sets up defaults for the mock_rdev_ops functions so we don't have to explicitly |
nothing calls this directly
no test coverage detected