| 22 | using tensorflow::tensorforest::ResolveParam; |
| 23 | |
| 24 | TEST(ParamsTest, TestConstant) { |
| 25 | DepthDependentParam param; |
| 26 | param.set_constant_value(10.0); |
| 27 | |
| 28 | ASSERT_EQ(ResolveParam(param, 0), 10.0); |
| 29 | ASSERT_EQ(ResolveParam(param, 100), 10.0); |
| 30 | } |
| 31 | |
| 32 | TEST(ParamsTest, TestLinear) { |
| 33 | DepthDependentParam param; |
nothing calls this directly
no test coverage detected