rsx/util/test: Cover edge cases in address_range test suite

This commit is contained in:
kd-11 2025-05-27 00:14:39 +03:00
parent 37ad45c9f2
commit af71df465d
3 changed files with 50 additions and 1 deletions

View file

@ -81,7 +81,8 @@ namespace utils
return {};
}
return {_start, _start + (_length - 1)};
const T _end = static_cast<T>(_start + _length - 1);
return {_start, _end};
}
static constexpr address_range start_end(T _start, T _end)