Skip to content

Commit

Permalink
Update test code to use multiple common input mtx files
Browse files Browse the repository at this point in the history
  • Loading branch information
Md Naim committed Jul 27, 2023
1 parent 4707d79 commit 00d9524
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions cpp/tests/link_prediction/mg_similarity_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,8 @@ INSTANTIATE_TEST_SUITE_P(
// Disable weighted computation testing in 22.10
//::testing::Values(Similarity_Usecase{true, true, 20}, Similarity_Usecase{false, true, 20}),
::testing::Values(Similarity_Usecase{false, true, 20}),
::testing::Values(cugraph::test::File_Usecase("test/datasets/karate.mtx")
// , cugraph::test::File_Usecase("test/datasets/netscience.mtx")
)));
::testing::Values(cugraph::test::File_Usecase("test/datasets/karate.mtx"),
cugraph::test::File_Usecase("test/datasets/netscience.mtx"))));

INSTANTIATE_TEST_SUITE_P(
rmat_small_test,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,7 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Combine(
::testing::Values(Prims_Usecase{size_t{1024}, true}),
::testing::Values(cugraph::test::File_Usecase("test/datasets/karate.mtx"),
cugraph::test::File_Usecase("test/datasets/web-Google.mtx"),
cugraph::test::File_Usecase("test/datasets/ljournal-2008.mtx"),
cugraph::test::File_Usecase("test/datasets/webbase-1M.mtx"))));
cugraph::test::File_Usecase("test/datasets/netscience.mtx"))));

INSTANTIATE_TEST_SUITE_P(rmat_small_test,
Tests_MGPerVPairTransformDstNbrIntersection_Rmat,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,10 @@ TEST_P(Tests_MGPerVPairTransformDstNbrIntersection_Rmat, CheckInt64Int64Float)
INSTANTIATE_TEST_SUITE_P(
file_test,
Tests_MGPerVPairTransformDstNbrIntersection_File,
::testing::Combine(::testing::Values(Prims_Usecase{size_t{10}, true}),
::testing::Values(cugraph::test::File_Usecase("test/datasets/karate.mtx"))));
::testing::Combine(
::testing::Values(Prims_Usecase{size_t{10}, true}),
::testing::Values(cugraph::test::File_Usecase("test/datasets/karate.mtx"),
cugraph::test::File_Usecase("test/datasets/netscience.mtx"))));

INSTANTIATE_TEST_SUITE_P(rmat_small_test,
Tests_MGPerVPairTransformDstNbrIntersection_Rmat,
Expand Down

0 comments on commit 00d9524

Please sign in to comment.