diff options
Diffstat (limited to 'gentoobrowse-api/unittests/testUsers.cpp')
-rw-r--r-- | gentoobrowse-api/unittests/testUsers.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gentoobrowse-api/unittests/testUsers.cpp b/gentoobrowse-api/unittests/testUsers.cpp index e4c1ac4..a4567f3 100644 --- a/gentoobrowse-api/unittests/testUsers.cpp +++ b/gentoobrowse-api/unittests/testUsers.cpp @@ -95,6 +95,13 @@ BOOST_AUTO_TEST_CASE( track ) u->track(1, 44473); } +BOOST_AUTO_TEST_CASE( tracked ) +{ + auto ids = u->tracked(1); + BOOST_REQUIRE_EQUAL(4, ids.size()); + BOOST_REQUIRE_EQUAL(44473, ids.front()); +} + BOOST_AUTO_TEST_CASE( untrack ) { u->untrack(1, 44473); |