Skip to content

Commit 184681f

Browse files
committed
fix a unit test bug
1 parent d298d97 commit 184681f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/module_cell/module_neighbor/test/sltk_grid_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ TEST_F(SltkGridTest, Init)
8383
PARAM.input.test_grid = 1;
8484
Grid LatGrid(PARAM.input.test_grid);
8585
LatGrid.init(ofs, *ucell, radius, pbc);
86-
EXPECT_EQ(LatGrid.getGlayerX(), 11);
87-
EXPECT_EQ(LatGrid.getGlayerY(), 11);
88-
EXPECT_EQ(LatGrid.getGlayerZ(), 11);
86+
EXPECT_EQ(LatGrid.getGlayerX(), 6);
87+
EXPECT_EQ(LatGrid.getGlayerY(), 6);
88+
EXPECT_EQ(LatGrid.getGlayerZ(), 6);
8989
EXPECT_EQ(LatGrid.getGlayerX_minus(), 5);
9090
EXPECT_EQ(LatGrid.getGlayerY_minus(), 5);
9191
EXPECT_EQ(LatGrid.getGlayerZ_minus(), 5);

0 commit comments

Comments
 (0)