Skip to content

Commit

Permalink
Update test_detector.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
SuryaVC authored Nov 1, 2023
1 parent 6da1749 commit 2286c7a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/test_detector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
/**
* @brief Test case for loading the model.
*/
TEST(DetectorTest, LoadModelTest) {
Detector detector;
detector.load_model("../../cfg/yolov3.cfg", "../../cfg/yolov3.weights", "../../cfg/coco.names");
// Check if the model is loaded successfully
ASSERT_FALSE(detector.network.empty());
}
// TEST(DetectorTest, LoadModelTest) {
// Detector detector;
// detector.load_model("../../cfg/yolov3.cfg", "../../cfg/yolov3.weights", "../../cfg/coco.names");
// // Check if the model is loaded successfully
// ASSERT_FALSE(detector.network.empty());
// }

/**
* @brief Test case for calculating distance.
Expand Down

0 comments on commit 2286c7a

Please sign in to comment.