File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1313
1414BUILD_DIR = Path (__file__ ).parent / "rust" / "target" / "release"
1515
16+ INT32_MIN = - (2 ** 31 )
17+ INT32_MAX = 2 ** 31 - 1
18+
1619
1720def test_conformance (subtests ):
1821 run_conformance_tests (
1922 [
2023 BooleanConformance (BUILD_DIR / "test_booleans" ),
21- IntegerConformance (BUILD_DIR / "test_integers" ),
24+ IntegerConformance (
25+ BUILD_DIR / "test_integers" , min_value = INT32_MIN , max_value = INT32_MAX
26+ ),
2227 FloatConformance (BUILD_DIR / "test_floats" ),
2328 TextConformance (BUILD_DIR / "test_text" ),
2429 BinaryConformance (BUILD_DIR / "test_binary" ),
25- ListConformance (BUILD_DIR / "test_lists" ),
30+ ListConformance (
31+ BUILD_DIR / "test_lists" , min_value = INT32_MIN , max_value = INT32_MAX
32+ ),
2633 SampledFromConformance (BUILD_DIR / "test_sampled_from" ),
2734 ],
2835 subtests ,
You can’t perform that action at this time.
0 commit comments