Skip to content

Commit af0d195

Browse files
committed
modify code comment in fire_test.cpp
1 parent 155a128 commit af0d195

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

source/source_md/test/fire_test.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -184,47 +184,31 @@ TEST_F(FIREtest, PrintMD)
184184
std::ifstream ifs("running_fire.log");
185185
std::string output_str;
186186

187-
// Line 6
188187
getline(ifs, output_str);
189188
EXPECT_THAT(output_str, testing::HasSubstr(" ELECTRONIC PART OF STRESS: 0.2461 kbar"));
190-
191-
// Line 7
192189
getline(ifs, output_str);
193190
EXPECT_THAT(output_str, testing::HasSubstr(" IONIC (KINETIC) PART OF STRESS: 0.838539 kbar"));
194-
195-
// Line 5
196191
getline(ifs, output_str);
197192
EXPECT_THAT(output_str, testing::HasSubstr(" MD PRESSURE (ELECTRONS+IONS) : 1.08464 kbar"));
198-
199193
getline(ifs, output_str);
200-
// Line 1
201194
getline(ifs, output_str);
202195
EXPECT_THAT(output_str,
203196
testing::HasSubstr(
204197
" ------------------------------------------------------------------------------------------------"));
205-
206-
// Line 2
207198
getline(ifs, output_str);
208199
EXPECT_THAT(output_str,
209200
testing::HasSubstr(
210201
" Energy (Ry) Potential (Ry) Kinetic (Ry) Temperature (K) Pressure (kbar) "));
211-
212-
// Line 3
213202
getline(ifs, output_str);
214203
EXPECT_THAT(output_str,
215204
testing::HasSubstr(
216205
" -0.015365236 -0.023915637 0.0085504016 300 1.0846391 "));
217-
218-
// Line 4
219206
getline(ifs, output_str);
220207
EXPECT_THAT(
221208
output_str,
222209
testing::HasSubstr(
223210
" ------------------------------------------------------------------------------------------------"));
224-
225211
getline(ifs, output_str);
226-
227-
// Line 8
228212
getline(ifs, output_str);
229213
EXPECT_THAT(output_str, testing::HasSubstr(" LARGEST FORCE (eV/A) : 0.049479926"));
230214

0 commit comments

Comments
 (0)