コード例 #1
0
ファイル: test_atom_util.py プロジェクト: PhilipVinc/HQCMeas
def test_simple_member_from_str4():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member("enum_float"), "1.0") == 1.0
コード例 #2
0
ファイル: test_atom_util.py プロジェクト: PhilipVinc/HQCMeas
def test_simple_member_from_str2():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member("float_n"), "1.0") == 1.0
コード例 #3
0
ファイル: test_atom_util.py プロジェクト: PhilipVinc/HQCMeas
def test_simple_member_from_str3():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member("enum"), "a") == "a"
コード例 #4
0
ファイル: test_atom_util.py プロジェクト: PhilipVinc/HQCMeas
def test_simple_member_from_str1():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member("string"), "a") == "a"
コード例 #5
0
ファイル: test_atom_util.py プロジェクト: floubar/HQCMeas
def test_simple_member_from_str4():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member('enum_float'), '1.0') == 1.0
コード例 #6
0
ファイル: test_atom_util.py プロジェクト: floubar/HQCMeas
def test_simple_member_from_str3():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member('enum'), 'a') == 'a'
コード例 #7
0
ファイル: test_atom_util.py プロジェクト: floubar/HQCMeas
def test_simple_member_from_str2():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member('float_n'), '1.0') == 1.0
コード例 #8
0
ファイル: test_atom_util.py プロジェクト: floubar/HQCMeas
def test_simple_member_from_str1():
    aux = _Aux()
    assert simple_member_from_str(aux.get_member('string'), 'a') == 'a'