Skip to content

Commit 30b3300

Browse files
committed
update unit test
1 parent 109723a commit 30b3300

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/source_io/test/read_wfc_nao_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ TEST_F(ReadWfcNaoTest, ReadWfcNaoPart)
105105
PARAM.sys.global_readin_dir = "./support/";
106106
const int nks = 1;
107107
const int nspin = 1;
108+
const int nstep = -1;
108109
int my_rank = 0;
109110

110111
Parallel_Orbitals ParaV;
@@ -130,7 +131,7 @@ TEST_F(ReadWfcNaoTest, ReadWfcNaoPart)
130131

131132
// Act
132133
ModuleIO::read_wfc_nao(PARAM.sys.global_readin_dir, ParaV, psid,
133-
&(pelec), ik2iktot, nkstot, nspin, skip_band);
134+
&(pelec), ik2iktot, nkstot, nspin, nstep, skip_band);
134135

135136
// Assert
136137
EXPECT_NEAR(pelec.ekb(0, 1), 7.4141254894954844445464914e-01, 1e-5);

0 commit comments

Comments
 (0)