11#include <gtest/gtest.h>
2-
3- extern "C" int test_allocate_serialize_for_time_domain ();
4- extern "C" int test_allocate_serialize_for_frequency_domain ();
5- extern "C" int test_allocate_current ();
6-
7- extern "C" int test_initial_time_less_than_timestep ();
8- extern "C" int test_timestep_greater_and_mapvtk ();
9- extern "C" int test_timestep_greater_not_mapvtk ();
10- extern "C" int test_freqstep_zero_or_large ();
11- extern "C" int test_volumic_false_true_and_saveall ();
12- extern "C" int test_saveall_branch ();
13- extern "C" int test_final_less_than_initial ();
14- extern "C" int test_huge_cap ();
15-
16- extern "C" int test_init_time_movie_observation ();
17-
18- extern "C" int test_update_time_movie_observation ();
19-
20- TEST (observation , test_allocate_time ) {EXPECT_EQ (0 , test_allocate_serialize_for_time_domain ()); }
21- TEST (observation , test_allocate_frequency ) {EXPECT_EQ (0 , test_allocate_serialize_for_frequency_domain ()); }
22- TEST (observation , test_allocate_serialize_current ) {EXPECT_EQ (0 , test_allocate_current ()); }
23-
24- TEST (observation , test_preproces_initial_time_less_than_timestep ) {EXPECT_EQ (0 , test_initial_time_less_than_timestep ()); }
25- TEST (observation , test_preproces_timestep_greater_and_mapvtk ) {EXPECT_EQ (0 , test_timestep_greater_and_mapvtk ()); }
26- TEST (observation , test_preproces_timestep_greater_not_mapvtk ) {EXPECT_EQ (0 , test_timestep_greater_not_mapvtk ()); }
27- TEST (observation , test_preproces_freqstep_zero_or_large ) {EXPECT_EQ (0 , test_freqstep_zero_or_large ()); }
28- TEST (observation , test_preproces_volumic_false_true_and_saveall ) {EXPECT_EQ (0 , test_volumic_false_true_and_saveall ()); }
29- TEST (observation , test_preproces_saveall_branch ) {EXPECT_EQ (0 , test_saveall_branch ()); }
30- TEST (observation , test_preproces_final_less_than_initial ) {EXPECT_EQ (0 , test_final_less_than_initial ()); }
31- TEST (observation , test_preproces_huge_cap ) {EXPECT_EQ (0 , test_huge_cap ()); }
32-
33- TEST (observation , test_init_movie_observation ) {EXPECT_EQ (0 , test_init_time_movie_observation ()); }
34-
35- TEST (observation , test_update_movie_observation ) {EXPECT_EQ (0 , test_update_time_movie_observation ()); }
36-
2+ //
3+ //extern "C" int test_allocate_serialize_for_time_domain();
4+ //extern "C" int test_allocate_serialize_for_frequency_domain();
5+ //extern "C" int test_allocate_current();
6+ //
7+ //extern "C" int test_initial_time_less_than_timestep();
8+ //extern "C" int test_timestep_greater_and_mapvtk();
9+ //extern "C" int test_timestep_greater_not_mapvtk();
10+ //extern "C" int test_freqstep_zero_or_large();
11+ //extern "C" int test_volumic_false_true_and_saveall();
12+ //extern "C" int test_saveall_branch();
13+ //extern "C" int test_final_less_than_initial();
14+ //extern "C" int test_huge_cap();
15+ //
16+ //extern "C" int test_init_time_movie_observation();
17+ //
18+ //extern "C" int test_update_time_movie_observation();
19+ //
20+ //TEST(observation, test_allocate_time ) {EXPECT_EQ(0, test_allocate_serialize_for_time_domain()); }
21+ //TEST(observation, test_allocate_frequency ) {EXPECT_EQ(0, test_allocate_serialize_for_frequency_domain()); }
22+ //TEST(observation, test_allocate_serialize_current) {EXPECT_EQ(0, test_allocate_current()); }
23+ //
24+ //TEST(observation, test_preproces_initial_time_less_than_timestep) {EXPECT_EQ(0, test_initial_time_less_than_timestep()); }
25+ //TEST(observation, test_preproces_timestep_greater_and_mapvtk ) {EXPECT_EQ(0, test_timestep_greater_and_mapvtk()); }
26+ //TEST(observation, test_preproces_timestep_greater_not_mapvtk ) {EXPECT_EQ(0, test_timestep_greater_not_mapvtk()); }
27+ //TEST(observation, test_preproces_freqstep_zero_or_large ) {EXPECT_EQ(0, test_freqstep_zero_or_large()); }
28+ //TEST(observation, test_preproces_volumic_false_true_and_saveall ) {EXPECT_EQ(0, test_volumic_false_true_and_saveall()); }
29+ //TEST(observation, test_preproces_saveall_branch ) {EXPECT_EQ(0, test_saveall_branch()); }
30+ //TEST(observation, test_preproces_final_less_than_initial ) {EXPECT_EQ(0, test_final_less_than_initial()); }
31+ //TEST(observation, test_preproces_huge_cap ) {EXPECT_EQ(0, test_huge_cap()); }
32+ //
33+ //TEST(observation, test_init_movie_observation ) {EXPECT_EQ(0, test_init_time_movie_observation()); }
34+ //
35+ //TEST(observation, test_update_movie_observation ) {EXPECT_EQ(0, test_update_time_movie_observation()); }
36+ //
37+ //
0 commit comments