# Test for jmri_bindings_test.py

# check existence of standard values - will give error if not present
sensors
turnouts
lights
signals
masts
routes
blocks
reporters
memories
stringios
powermanager
addressedProgrammers
globalProgrammers
dcc
audio
shutdown
layoutblocks
warrants

CLOSED
THROWN
CABLOCKOUT
PUSHBUTTONLOCKOUT
UNLOCKED
LOCKED

ACTIVE
INACTIVE

ON
OFF

UNKNOWN
INCONSISTENT

DARK
RED
YELLOW
GREEN
LUNAR
FLASHRED
FLASHYELLOW
FLASHGREEN
FLASHLUNAR

# check some values
import jmri

if (GREEN != jmri.SignalHead.GREEN) : raise AssertionError('GREEN Failed')
if (YELLOW != jmri.SignalHead.YELLOW) : raise AssertionError('YELLOW Failed')
if (RED != jmri.SignalHead.RED) : raise AssertionError('RED Failed')

if (ON != jmri.Light.ON) : raise AssertionError('ON Failed')
if (OFF != jmri.Light.OFF) : raise AssertionError('OFF Failed')

# here is success
