mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
rsx/util/test: Cover edge cases in address_range test suite
This commit is contained in:
parent
37ad45c9f2
commit
af71df465d
3 changed files with 50 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue