Add error messages to correctness assertions in SimpleBasePlayer
Users of this class may run into these assertions when creating the State and they need to check the source code to understand why the State is invalid. Adding error messages to all our correctness assertions helps to understand the root cause more easily. PiperOrigin-RevId: 496875109 (cherry picked from commit b7e887a5)
Showing
with
64 additions
and
36 deletions
Please
register
or
sign in
to comment