Datasets:
Formats:
csv
Languages:
English
Size:
1K - 10K
Tags:
mathematics
inverse-problems
observability
noncommutative-algebra
symbolic-computation
calibration-rigidity
Download tests/test_input_validation.py from PureOne/AELYRION-NOULITH-III: direct link, hf CLI and curl.
- Browser
- Download file 806 Bytes
-
https://huggingface.co/datasets/PureOne/AELYRION-NOULITH-III/resolve/main/tests/test_input_validation.py
- Command line
-
hf download hf://datasets/PureOne/AELYRION-NOULITH-III/tests/test_input_validation.py
-
curl -L -o test_input_validation.py https://huggingface.co/datasets/PureOne/AELYRION-NOULITH-III/resolve/main/tests/test_input_validation.py
806 Bytes
| import pytest | |
| from noulith.protocols import root_profile, partition_valuations | |
| from noulith.geometry import line_arrangement_generators, perfect_slice_matrix | |
| def test_root_profile_rejects_invalid_arguments(args): | |
| with pytest.raises(ValueError): | |
| root_profile(*args) | |
| def test_dp_rejects_invalid_budget(budget): | |
| with pytest.raises(ValueError): | |
| partition_valuations([0,0],budget) | |
| def test_branch_normal_form_rejects_three_channel_exception(): | |
| import sympy as sp | |
| with pytest.raises(ValueError): | |
| line_arrangement_generators(sp.symbols('x y')) | |
| with pytest.raises(ValueError): | |
| perfect_slice_matrix(2) | |