Skip to content

Commit

Permalink
Revert "Test: add unit test for class Occupy (#2396)"
Browse files Browse the repository at this point in the history
This reverts commit 7c38876.
  • Loading branch information
hongriTianqi authored May 10, 2023
1 parent 7c38876 commit 9773bc0
Show file tree
Hide file tree
Showing 7 changed files with 427 additions and 620 deletions.
2 changes: 1 addition & 1 deletion source/module_elecstate/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ if(ENABLE_COVERAGE)
endif()

if(BUILD_TESTING)
add_subdirectory(test)
# add_subdirectory(test)
endif()
6 changes: 1 addition & 5 deletions source/module_elecstate/elecstate_getters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,5 @@ const double get_ucell_omega()
{
return GlobalC::ucell.omega;
}
const int get_en_iter()
{
return GlobalC::en.iter;
}

} // namespace elecstate
}
4 changes: 1 addition & 3 deletions source/module_elecstate/elecstate_getters.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ namespace elecstate

// get the value of GlobalC::ucell.omega
const double get_ucell_omega();
// get the value of GlobalC::en.iter
const int get_en_iter();

} // namespace elecstate
}
Loading

0 comments on commit 9773bc0

Please sign in to comment.