mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-04 14:08:30 +00:00
rsx/util/test: Cover edge cases in address_range test suite
This commit is contained in:
parent
45718d7679
commit
2d9a24d1d6
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