Skip to content

Commit ce796a9

Browse files
Fix: Tests
1 parent bf01b41 commit ce796a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/module_cell/test/klist_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ std::vector<stru_> stru_lib{stru_{1,
156156
}}}}};
157157
// used to construct cell and analyse its symmetry
158158

159-
class KlistTest : public testing::Test
159+
class KlistTest : public testing::Tests
160160
{
161161
protected:
162162
std::unique_ptr<K_Vectors> kv{new K_Vectors};
@@ -594,6 +594,7 @@ TEST_F(KlistTest, SetAfterVC)
594594
kv->kvec_c[0].y = 0;
595595
kv->kvec_c[0].z = 0;
596596
// kv->set_after_vc(PARAM.input.nspin, ucell.G, ucell.latvec);
597+
KVectorUtils::set_after_vc(*kv, PARAM.input.nspin, ucell.G);
597598

598599
EXPECT_TRUE(kv->kd_done);
599600
EXPECT_TRUE(kv->kc_done);

0 commit comments

Comments
 (0)