Skip to content

Commit

Permalink
Added a few extra SRF feature tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leroyvn committed May 19, 2020
1 parent 5efe8ac commit cb346ee
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/sensors/tests/test_perspective.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,18 @@ def check_fov(camera, sample):
<spectrum version="2.0.0" name="srf" type="uniform">
<float name="value" value="1"/>
</spectrum>""",
# Uniform SRF covering full the [400, 700] nm spectral range
# "uniform_restricted": """
# <spectrum version="2.0.0" name="srf" type="uniform">
# <float name="value" value="1"/>
# <float name="lambda_min" value="400"/>
# <float name="lambda_max" value="700"/>
# </spectrum>""",
# Uniform SRF covering the [400, 700] nm spectral range
"uniform_restricted": """
<spectrum version="2.0.0" name="srf" type="uniform">
<float name="value" value="1"/>
<float name="lambda_min" value="400"/>
<float name="lambda_max" value="700"/>
</spectrum>""",
# Uniform SRF covering full spectral range, not equal to 1
"uniform_scaled": """
<spectrum version="2.0.0" name="srf" type="uniform">
<float name="value" value="2"/>
</spectrum>""",
}


Expand Down

0 comments on commit cb346ee

Please sign in to comment.