@@ -114,7 +114,7 @@ TEST_F(IonsMoveCGTest, TestStartConverged)
114114 GlobalV::ofs_running.close ();
115115
116116 // Check output
117- std::string expected_output = " \n Largest force is 0 eV/A while threshold is -1 eV/A \n "
117+ std::string expected_output = " \n Largest force is 0 eV/Angstrom while threshold is -1 eV/Angstrom \n "
118118 " largest force is 0, no movement is possible.\n it may converged, otherwise no "
119119 " movement of atom is allowed.\n end of geometry optimization\n "
120120 " istep = 1\n update iteration = 5\n " ;
@@ -152,7 +152,7 @@ TEST_F(IonsMoveCGTest, TestStartSd)
152152 GlobalV::ofs_running.close ();
153153
154154 // Check output
155- std::string expected_output = " \n Largest force is 0.257111 eV/A while threshold is -1 eV/A \n\n "
155+ std::string expected_output = " \n Largest force is 0.257111 eV/Angstrom while threshold is -1 eV/Angstrom \n\n "
156156 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
157157 std::ifstream ifs (" TestStartSd.log" );
158158 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -191,7 +191,7 @@ TEST_F(IonsMoveCGTest, TestStartTrialGoto)
191191 GlobalV::ofs_running.close ();
192192
193193 // Check output
194- std::string expected_output = " \n Largest force is 0.0257111 eV/A while threshold is -1 eV/A \n\n "
194+ std::string expected_output = " \n Largest force is 0.0257111 eV/Angstrom while threshold is -1 eV/Angstrom \n\n "
195195 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
196196 std::ifstream ifs (" TestStartTrialGoto.log" );
197197 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -229,7 +229,7 @@ TEST_F(IonsMoveCGTest, TestStartTrial)
229229 GlobalV::ofs_running.close ();
230230
231231 // Check output
232- std::string expected_output = " \n Largest force is 0.257111 eV/A while threshold is -1 eV/A \n\n "
232+ std::string expected_output = " \n Largest force is 0.257111 eV/Angstrom while threshold is -1 eV/Angstrom \n\n "
233233 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
234234 std::ifstream ifs (" TestStartTrial.log" );
235235 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -269,7 +269,7 @@ TEST_F(IonsMoveCGTest, TestStartNoTrialGotoCase1)
269269 GlobalV::ofs_running.close ();
270270
271271 // Check output
272- std::string expected_output = " \n Largest force is 0.0257111 eV/A while threshold is -1 eV/A \n\n "
272+ std::string expected_output = " \n Largest force is 0.0257111 eV/Angstrom while threshold is -1 eV/Angstrom \n\n "
273273 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
274274 std::ifstream ifs (" TestStartNoTrialGotoCase1.log" );
275275 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -308,7 +308,7 @@ TEST_F(IonsMoveCGTest, TestStartNoTrialGotoCase2)
308308 GlobalV::ofs_running.close ();
309309
310310 // Check output
311- std::string expected_output = " \n Largest force is 0.257111 eV/A while threshold is -1 eV/A \n\n "
311+ std::string expected_output = " \n Largest force is 0.257111 eV/Angstrom while threshold is -1 eV/Angstrom \n\n "
312312 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
313313 std::ifstream ifs (" TestStartNoTrialGotoCase2.log" );
314314 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
@@ -348,7 +348,7 @@ TEST_F(IonsMoveCGTest, TestStartNoTrial)
348348 GlobalV::ofs_running.close ();
349349
350350 // Check output
351- std::string expected_output = " \n Largest force is 0.0257111 eV/A while threshold is -1 eV/A \n\n "
351+ std::string expected_output = " \n Largest force is 0.0257111 eV/Angstrom while threshold is -1 eV/Angstrom \n\n "
352352 " Ion relaxation is not converged yet (threshold is 0.0257111)\n " ;
353353 std::ifstream ifs (" TestStartNoTrial.log" );
354354 std::string output ((std::istreambuf_iterator<char >(ifs)), std::istreambuf_iterator<char >());
0 commit comments