Skip to content

Commit cc834e9

Browse files
committed
fix bug
1 parent 3f23f15 commit cc834e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/source_io/test_serial/nscf_band_test.cpp renamed to source/source_io/test_serial/write_bands_test.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#include "gtest/gtest.h"
22
#include "gmock/gmock.h"
3-
#include "source_io/nscf_band.h"
3+
#include "source_io/write_bands.h"
44
#include "source_cell/parallel_kpoints.h"
55
#include "source_cell/klist.h"
66

77

88
/************************************************
9-
* unit test of nscf_band
9+
* unit test of ns
1010
***********************************************/
1111

1212
/**
1313
* - Tested Functions:
14-
* - nscf_band()
14+
* - nscf_bands()
1515
* - output band structure in nscf calculation
1616
*/
1717

@@ -61,14 +61,14 @@ class BandTest : public ::testing::Test
6161
K_Vectors* kv;
6262
};
6363

64-
TEST_F(BandTest, nscf_band)
64+
TEST_F(BandTest, nscf_bands)
6565
{
6666
kv->para_k.nks_pool.resize(1);
6767
kv->para_k.nks_pool[0] = nks;
6868
kv->para_k.nkstot_np = nks;
6969
kv->para_k.nks_np = nks;
7070
// Call the function to be tested
71-
ModuleIO::nscf_band(is, out_band_dir, nband, fermie, 8, ekb, *kv);
71+
ModuleIO::nscf_bands(is, out_band_dir, nband, fermie, 8, ekb, *kv);
7272

7373
// Check the output file
7474
std::ifstream ifs(out_band_dir);

0 commit comments

Comments
 (0)