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.
- Loading branch information
Showing
7 changed files
with
25 additions
and
25,316 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
#include "../catch_amalgamated.hpp" | ||
#include <catch2/catch_test_macros.hpp> | ||
#include "parse_pdbqt.h" | ||
#include "atom.h" | ||
// #include "parse_pdbqt.cpp" | ||
|
||
|
||
TEST_CASE("parse pdbqt rigid", "[parse_pdbqt_rigid]") { | ||
// 假设你有一个有效的PDBQT文件路径 | ||
// Test pdbqt atom number | ||
std::string valid_pdbqt_receptor_path = "../unitest/ParseTests/def.pdbqt"; | ||
rigid r; | ||
REQUIRE_NOTHROW(parse_pdbqt_rigid(valid_pdbqt_receptor_path, r)); | ||
REQUIRE(r.atoms.size() == 1613); // 假设你的atom解析函数会添加到atoms向量 | ||
// // 测试正常情况 | ||
// // REQUIRE_NOTHROW(parse_receptor_pdbqt(valid_pdbqt_receptor_path)); | ||
// // atom_type::t atype; | ||
// // pdbqt_initializer tmp(atype); | ||
// model m = parse_receptor_pdbqt(valid_pdbqt_receptor_path); | ||
// std::cout <<"aaaaaaaaaa"<<m.num_atoms() <<std::endl; | ||
REQUIRE(r.atoms.size() == 1613); | ||
|
||
} |
Oops, something went wrong.