mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-27 18:52:11 -04:00
17 lines
418 B
Python
17 lines
418 B
Python
from pathlib import Path
|
|
import sys
|
|
import unittest
|
|
|
|
ROOT = Path(__file__).resolve().parents[2]
|
|
sys.path.insert(0, str(ROOT / "tools"))
|
|
from generate_sbi_registry import render
|
|
|
|
|
|
class RegistryTests(unittest.TestCase):
|
|
def test_native_registry_matches_intake_metadata(self):
|
|
self.assertEqual((ROOT / "runtime/include/sbi_registry.h").read_text(), render())
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|