Add basic tests for UniformSnapshot#getValue(double) argument validation.
Explicitly disallow NaN arguments in WeightedSnapshot, similarily to commit 00aa2e.
Add basic tests for WeightedSnapshot#getValue(double) argument validation.