diff options
| author | Brianna Rainey | 2026-01-13 19:34:55 -0500 |
|---|---|---|
| committer | GitHub | 2026-01-13 19:34:55 -0500 |
| commit | 50f5a76603a3f97f2c6f6a1d3cefea88ed3497aa (patch) | |
| tree | 226fe223b31af6f217b1dd413629ab2cf26964d4 /tests/test_core_init.py | |
| parent | b8703752ffc7768b0275897b3c2a869ff41504e5 (diff) | |
| parent | f975144f25d34f97329b2d4e52891061573cea08 (diff) | |
Merge pull request #85 from aeliton/add-pyproject
Use pyproject.toml + uv_build
Diffstat (limited to 'tests/test_core_init.py')
| -rw-r--r-- | tests/test_core_init.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/test_core_init.py b/tests/test_core_init.py new file mode 100644 index 0000000..16606fb --- /dev/null +++ b/tests/test_core_init.py @@ -0,0 +1,21 @@ +from avp.core import Core + + +def test_component_names(): + core = Core() + assert core.compNames == [ + "Classic Visualizer", + "Color", + "Conway's Game of Life", + "Image", + "Sound", + "Spectrum", + "Title Text", + "Video", + "Waveform", + ] + + +def test_moduleindex(): + core = Core() + assert core.moduleIndexFor("Classic Visualizer") == 0 |
