This repository has been archived by the owner on Mar 3, 2024. It is now read-only.
forked from dptech-corp/Uni-Dock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Catch2 unit test * Fix unit test * Add git support in Dockerfile * Add git in CI basic packages * Fix file path in parse_pdqt_test.cpp * Update CMakeLists.txt to link unit_tests with lib and cuda
- Loading branch information
Showing
8 changed files
with
1,654 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include <catch2/catch_test_macros.hpp> | ||
#include "parse_pdbqt.h" | ||
#include "atom.h" | ||
|
||
|
||
TEST_CASE("parse pdbqt rigid", "[parse_pdbqt_rigid]") { | ||
// Test pdbqt atom number | ||
std::string valid_pdbqt_receptor_path = "../unittest/ParseTests/def.pdbqt"; | ||
rigid r; | ||
REQUIRE_NOTHROW(parse_pdbqt_rigid(valid_pdbqt_receptor_path, r)); | ||
REQUIRE(r.atoms.size() == 1613); | ||
|
||
} |