mirror of
https://github.com/nasa/trick.git
synced 2025-02-22 09:51:06 +00:00
Modified unit test to account for new logic.
This commit is contained in:
parent
9b3813dd1f
commit
5ea826c67b
@ -327,7 +327,7 @@ TEST_F(MonteCarloTest, MonteVarFile) {
|
|||||||
Trick::MonteVarFile var0("time_to_fire_1", "M_jet_firings_inline", 2) ;
|
Trick::MonteVarFile var0("time_to_fire_1", "M_jet_firings_inline", 2) ;
|
||||||
EXPECT_EQ(exec.variables.size(), 0) ;
|
EXPECT_EQ(exec.variables.size(), 0) ;
|
||||||
exec.add_variable(&var0) ;
|
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) ;
|
EXPECT_EQ(exec.variables.size(), 1) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user