File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change
1
+ """
2
+ Tests for special cases.
3
+
4
+ The test cases for special casing are built on runtime via the parametrized
5
+ test_unary and test_binary functions. Most of this file consists of utility
6
+ classes and functions, all bought together to create the test cases (pytest
7
+ params), to finally be run through the general test logic of either test_unary
8
+ or test_binary.
9
+
10
+ TODO: test integer arrays for relevant special cases
11
+ """
1
12
# We use __future__ for forward reference type hints - this will work for even py3.8.0
2
13
# See https://stackoverflow.com/a/33533514/5193926
3
14
from __future__ import annotations
32
43
33
44
pytestmark = pytest .mark .ci
34
45
35
- # The special case test casess are built on runtime via the parametrized
36
- # test_unary and test_binary functions. Most of this file consists of utility
37
- # classes and functions, all bought together to create the test cases (pytest
38
- # params), to finally be run through the general test logic of either test_unary
39
- # or test_binary.
40
-
41
-
42
46
UnaryCheck = Callable [[float ], bool ]
43
47
BinaryCheck = Callable [[float , float ], bool ]
44
48
You can’t perform that action at this time.
0 commit comments