Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-Kid committed Jul 22, 2024
1 parent c3beab0 commit 8d00df0
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"ignoreFailures": true
}
],
"preLaunchTask": "test-dev-linux"
"preLaunchTask": "build-dev-linux"
}

]
Expand Down
4 changes: 3 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"--preset",
"dev-linux"
],
"dependsOn": [
"config-dev-linux"
],
"group": {
"kind": "build"
},
Expand All @@ -35,7 +38,6 @@
"dev-linux"
],
"dependsOn": [
"config-dev-linux",
"build-dev-linux"
],
"group": {
Expand Down
13 changes: 0 additions & 13 deletions source/molcore.cpp

This file was deleted.

4 changes: 0 additions & 4 deletions source/space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,6 @@ auto Box::isin(const xt::xarray<double> &xyz) const -> xt::xarray<bool>
{
return true;
}
<<<<<<< HEAD
} // namespace molcpp
=======

auto Box::wrap(const xt::xarray<double> &xyz) const -> xt::xarray<double>
{
Expand Down Expand Up @@ -308,4 +305,3 @@ bool operator!=(const Box &rhs, const Box &lhs)
return !(rhs == lhs);
}
} // namespace molcpp
>>>>>>> origin/dev
9 changes: 0 additions & 9 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,13 @@ file(GLOB_RECURSE TEST_SOURCES CONFIGURE_DEPENDS "source/*.cpp")
message(STATUS "find test sources: ${TEST_SOURCES}")

add_executable(molcpp_test ${TEST_SOURCES})
<<<<<<< HEAD
target_link_libraries(molcpp_test PRIVATE molcpp::molcpp)
target_link_libraries(molcpp_test PRIVATE Catch2::Catch2WithMain)
target_compile_features(molcpp_test PRIVATE cxx_std_20)

include(Catch)
catch_discover_tests(molcpp_test)
=======
set_target_properties(molcpp_test PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
target_link_libraries(molcpp_test PRIVATE molcpp::molcpp)
target_link_libraries(molcpp_test PRIVATE doctest::doctest)
target_compile_features(molcpp_test PRIVATE cxx_std_20)

include(doctest)
doctest_discover_tests(molcpp_test)
>>>>>>> origin/dev

# ---- End-of-file commands ----

Expand Down
4 changes: 0 additions & 4 deletions test/source/test_space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ TEST_CASE("TestBoxUtils")
}
}

<<<<<<< HEAD
} // namespace molcpp
=======
TEST_CASE("TestBoxInit")
{

Expand Down Expand Up @@ -238,4 +235,3 @@ TEST_CASE("TestBoxDimension")
CHECK(xt::allclose(triclinic.get_distance_between_faces(), Vec3({10*sind(80), 11*sind(80), 12}), 1e-5));
}
}
>>>>>>> origin/dev

0 comments on commit 8d00df0

Please sign in to comment.