Implement a new test

This commit is contained in:
Jesse Talavera 2024-03-12 18:31:11 -04:00
parent 231168cb01
commit 6789a03099
2 changed files with 11 additions and 2 deletions

View File

@ -279,8 +279,9 @@ add_python_test(
)
add_python_test(
NAME "Core sets options visibility display update callback"
TEST_MODULE ""
NAME "Core sets options visibility update callback"
TEST_MODULE basics.core_sets_options_visibility_update_callback
CONTENT "${NDS_ROM}"
)
add_python_test(

View File

@ -0,0 +1,8 @@
from libretro import Session
import prelude
session: Session
with prelude.session() as session:
assert session.options.update_display_callback
assert session.options.update_display_callback.callback