def test_type_match_complex(self): s = c_spec.float_converter() assert_(not s.type_match(5.+1j))
def test_type_match_int(self): s = c_spec.float_converter() assert_(not s.type_match(5))
def test_type_match_float(self): s = c_spec.float_converter() assert_(s.type_match(5.))
def test_type_match_string(self): s = c_spec.float_converter() assert_( not s.type_match('string'))
def test_type_match_string(self): s = c_spec.float_converter() assert_(not s.type_match('string'))
def test_type_match_complex(self): s = c_spec.float_converter() assert_(not s.type_match(5. + 1j))