def test_convert_SmSp_2(): state = "000" value = oper.convert("S-S+", state, amps) assert value == 0
def test_convert_SpSm_2(): state = "000" value = oper.convert("S+S-", state, amps) assert value == 0
def test_convert_SmSp_1(): state = "101" value = oper.convert("S-S+", state, amps) assert value == 2
def test_convert_SpSm_1(): state = "101" value = oper.convert("S+S-", state, amps) assert value == 0.5
def test_convert_SzSz_2(): state = "011" value = oper.convert("SzSz", state, amps) assert value == 0
def test_convert_SzSz_1(): state = "101" value = oper.convert("SzSz", state, amps) assert value == -0.5
def test_convert_S2S3_2(): state = "011" value = oper.convert("S2S3", state, amps) assert value == 0.25
def test_convert_S2S3_1(): state = "101" value = oper.convert("S2S3", state, amps) assert value == -0.25