@@ -180,22 +180,22 @@ TEST(PrintForce, PrintForce)
180180 std::ifstream ifs (" test.txt" );
181181 std::string output_str;
182182 getline (ifs, output_str);
183- EXPECT_THAT (output_str, testing::HasSubstr (" TOTAL-FORCE (eV/Angstrom)" ));
184- getline (ifs, output_str);
185183 EXPECT_THAT (output_str,
186- testing::HasSubstr (" ---------------------------------------------------------------------" ));
184+ testing::HasSubstr (" --------------------------------------------------------------------------- " ));
187185 getline (ifs, output_str);
188- EXPECT_THAT (output_str, testing::HasSubstr (" atom x y z " ));
186+ EXPECT_THAT (output_str, testing::HasSubstr (" test " ));
189187 getline (ifs, output_str);
190188 EXPECT_THAT (output_str,
191- testing::HasSubstr (" ---------------------------------------------------------------------" ));
189+ testing::HasSubstr (" --------------------------------------------------------------------------- " ));
192190 getline (ifs, output_str);
193- EXPECT_THAT (output_str, testing::HasSubstr (" Al1 25.7110532015 51.4221064030 77.1331596044" ));
191+ EXPECT_THAT (output_str,
192+ testing::HasSubstr (" Al1 25.7110532015 51.4221064030 77.1331596044" ));
194193 getline (ifs, output_str);
195- EXPECT_THAT (output_str, testing::HasSubstr (" Al2 0.0000000000 0.0000000000 0.0000000000" ));
194+ EXPECT_THAT (output_str,
195+ testing::HasSubstr (" Al2 0.0000000000 0.0000000000 0.0000000000" ));
196196 getline (ifs, output_str);
197197 EXPECT_THAT (output_str,
198- testing::HasSubstr (" ---------------------------------------------------------------------" ));
198+ testing::HasSubstr (" --------------------------------------------------------------------------- " ));
199199 ifs.close ();
200200 std::remove (" test.txt" );
201201}
0 commit comments