aboutsummaryrefslogtreecommitdiff
path: root/src/tests/test_core_init.py
blob: 696533a4919c69cdad83d727343789fb1fdbc625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from .__init__ import core


def test_component_names(core):
    assert core.compNames == [
        'Classic Visualizer',
        'Color',
        "Conway's Game of Life",
        'Image',
        'Sound',
        'Spectrum',
        'Title Text',
        'Video',
        'Waveform',
    ]


def test_moduleindex(core):
    assert core.moduleIndexFor("Classic Visualizer") == 0