Lines Matching refs:doc
8 def test_vector(doc):
19 assert doc(m.cast_vector) == "cast_vector() -> List[int]"
20 assert doc(m.load_vector) == "load_vector(arg0: List[int]) -> bool"
26 def test_deque(doc):
35 def test_array(doc):
41 assert doc(m.cast_array) == "cast_array() -> List[int[2]]"
42 assert doc(m.load_array) == "load_array(arg0: List[int[2]]) -> bool"
45 def test_valarray(doc):
51 assert doc(m.cast_valarray) == "cast_valarray() -> List[int]"
52 assert doc(m.load_valarray) == "load_valarray(arg0: List[int]) -> bool"
55 def test_map(doc):
64 assert doc(m.cast_map) == "cast_map() -> Dict[str, str]"
65 assert doc(m.load_map) == "load_map(arg0: Dict[str, str]) -> bool"
68 def test_set(doc):
75 assert doc(m.cast_set) == "cast_set() -> Set[str]"
76 assert doc(m.load_set) == "load_set(arg0: Set[str]) -> bool"
153 def test_variant(doc):
164 assert doc(m.load_variant) == "load_variant(arg0: Union[int, str, float, None]) -> str"