Modified unit test to account for new logic.

This commit is contained in:
Christopher LaChance 2017-11-01 09:00:59 -05:00
parent 9b3813dd1f
commit 5ea826c67b

View File

@ -327,7 +327,7 @@ TEST_F(MonteCarloTest, MonteVarFile) {
Trick::MonteVarFile var0("time_to_fire_1", "M_jet_firings_inline", 2) ;
EXPECT_EQ(exec.variables.size(), 0) ;
exec.add_variable(&var0) ;
EXPECT_EQ(var0.get_next_value(), "time_to_fire_1 = 1") ;
EXPECT_EQ(var0.get_next_value(), "time_to_fire_1 = 1.0000") ;
EXPECT_EQ(exec.variables.size(), 1) ;
}