@@ -89,7 +89,7 @@ TEST_F(IonsMoveCGTest, TestStartConverged)
8989 GlobalV::ofs_running.close ();
9090
9191 // Check output
92- std::string expected_output = " \n Largest gradient in force is 0 eV/A.\n Threshold is -1 eV/A\n "
92+ std::string expected_output = " \n Largest gradient in force is 0 eV/A.\n Threshold is -1 eV/A. \n "
9393 " largest force is 0, no movement is possible.\n it may converged, otherwise no "
9494 " movement of atom is allowed.\n end of geometry optimization\n "
9595 " istep = 1\n update iteration = 5\n " ;
@@ -123,7 +123,7 @@ TEST_F(IonsMoveCGTest, TestStartSd)
123123 GlobalV::ofs_running.close ();
124124
125125 // Check output
126- std::string expected_output = " \n Largest gradient in force is 0.257111 eV/A.\n Threshold is -1 eV/A\n\n "
126+ std::string expected_output = " \n Largest gradient in force is 0.257111 eV/A.\n Threshold is -1 eV/A. \n\n "
127127 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
128128 std::ifstream ifs (" log" );
129129 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -161,7 +161,7 @@ TEST_F(IonsMoveCGTest, TestStartTrialGoto)
161161 GlobalV::ofs_running.close ();
162162
163163 // Check output
164- std::string expected_output = " \n Largest gradient in force is 0.0257111 eV/A.\n Threshold is -1 eV/A\n\n "
164+ std::string expected_output = " \n Largest gradient in force is 0.0257111 eV/A.\n Threshold is -1 eV/A. \n\n "
165165 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
166166 std::ifstream ifs (" log" );
167167 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -198,7 +198,7 @@ TEST_F(IonsMoveCGTest, TestStartTrial)
198198 GlobalV::ofs_running.close ();
199199
200200 // Check output
201- std::string expected_output = " \n Largest gradient in force is 0.257111 eV/A.\n Threshold is -1 eV/A\n\n "
201+ std::string expected_output = " \n Largest gradient in force is 0.257111 eV/A.\n Threshold is -1 eV/A. \n\n "
202202 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
203203 std::ifstream ifs (" log" );
204204 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -237,7 +237,7 @@ TEST_F(IonsMoveCGTest, TestStartNoTrialGotoCase1)
237237 GlobalV::ofs_running.close ();
238238
239239 // Check output
240- std::string expected_output = " \n Largest gradient in force is 0.0257111 eV/A.\n Threshold is -1 eV/A\n\n "
240+ std::string expected_output = " \n Largest gradient in force is 0.0257111 eV/A.\n Threshold is -1 eV/A. \n\n "
241241 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
242242 std::ifstream ifs (" log" );
243243 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -275,7 +275,7 @@ TEST_F(IonsMoveCGTest, TestStartNoTrialGotoCase2)
275275 GlobalV::ofs_running.close ();
276276
277277 // Check output
278- std::string expected_output = " \n Largest gradient in force is 0.257111 eV/A.\n Threshold is -1 eV/A\n\n "
278+ std::string expected_output = " \n Largest gradient in force is 0.257111 eV/A.\n Threshold is -1 eV/A. \n\n "
279279 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
280280 std::ifstream ifs (" log" );
281281 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -314,7 +314,7 @@ TEST_F(IonsMoveCGTest, TestStartNoTrial)
314314 GlobalV::ofs_running.close ();
315315
316316 // Check output
317- std::string expected_output = " \n Largest gradient in force is 0.0257111 eV/A.\n Threshold is -1 eV/A\n\n "
317+ std::string expected_output = " \n Largest gradient in force is 0.0257111 eV/A.\n Threshold is -1 eV/A. \n\n "
318318 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
319319 std::ifstream ifs (" log" );
320320 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
0 commit comments