Skip to content

Commit 67076fd

Browse files
committed
modify the unit test for read_input_item_system.cpp
1 parent ea2c7c7 commit 67076fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/module_io/test_serial/read_input_item_test.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ TEST_F(InputTest, Item_test)
151151
param.input.qo_switch = true;
152152
it->second.reset_value(it->second, param);
153153
EXPECT_EQ(param.input.symmetry, "-1");
154+
155+
param.input.symmetry = "default";
156+
param.input.berry_phase = true;
157+
it->second.reset_value(it->second, param);
158+
EXPECT_EQ(param.input.symmetry, "-1");
154159
}
155160
{ // nelec
156161
auto it = find_label("nelec", readinput.input_lists);

0 commit comments

Comments
 (0)