File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ from hypothesis import given
2+
3+ from . import _array_module as xp
4+ from . import hypothesis_helpers as hh
5+ from . import xps
6+
7+
8+ # TODO generate kwargs
9+ @given (xps .arrays (dtype = xps .numeric_dtypes (), shape = hh .shapes (min_side = 1 )))
10+ def test_min (x ):
11+ xp .min (x )
12+ # TODO
13+
14+
15+ # TODO generate kwargs
16+ @given (xps .arrays (dtype = xps .numeric_dtypes (), shape = hh .shapes (min_side = 1 )))
17+ def test_max (x ):
18+ xp .max (x )
19+ # TODO
20+
21+
22+ # TODO generate kwargs
23+ @given (xps .arrays (dtype = xps .floating_dtypes (), shape = hh .shapes (min_side = 1 )))
24+ def test_mean (x ):
25+ xp .mean (x )
26+ # TODO
27+
28+
29+ # TODO generate kwargs
30+ @given (xps .arrays (dtype = xps .numeric_dtypes (), shape = hh .shapes (min_side = 1 )))
31+ def test_prod (x ):
32+ xp .prod (x )
33+ # TODO
34+
35+
36+ # TODO generate kwargs
37+ @given (xps .arrays (dtype = xps .floating_dtypes (), shape = hh .shapes (min_side = 1 )))
38+ def test_std (x ):
39+ xp .std (x )
40+ # TODO
41+
42+
43+ # TODO generate kwargs
44+ @given (xps .arrays (dtype = xps .numeric_dtypes (), shape = hh .shapes (min_side = 1 )))
45+ def test_sum (x ):
46+ xp .sum (x )
47+ # TODO
48+
49+
50+ # TODO generate kwargs
51+ @given (xps .arrays (dtype = xps .floating_dtypes (), shape = hh .shapes (min_side = 1 )))
52+ def test_var (x ):
53+ xp .var (x )
54+ # TODO
You can’t perform that action at this time.
0 commit comments