update unit test for new snow albedo to account for veg-dep albedo
@@ -2,12 +2,11 @@ import pytest
from vic.vic import ffi
from vic import lib as vic_lib
-# TODO: design new test to not only use the static parameter value
-@pytest.mark.xfail
+# updated to include veg-dependent albedo
def test_snow_albedo_new_snow():
assert vic_lib.snow_albedo(
0.1, 1., 0.7, -77, 3600., 0,
- ffi.cast('char', False)) == vic_lib.param.SNOW_NEW_SNOW_ALB
+ ffi.cast('char', False)) <= vic_lib.param.SNOW_NEW_SNOW_ALB
# TODO: Figure out why we're getting a failure here
