xref: /haiku/src/tests/system/kernel/util/SinglyLinkedListTest.h (revision 7749d0bb0c358a3279b1b9cc76d8376e900130a5)
1 #ifndef _single_linked_list_test_h_
2 #define _single_linked_list_test_h_
3 
4 #include <TestCase.h>
5 
6 class SinglyLinkedListTest : public BTestCase {
7 public:
8 	SinglyLinkedListTest(std::string name = "");
9 
10 	static CppUnit::Test* Suite();
11 
12 	void UserDefaultTest();
13 	void UserCustomTest();
14 	void AutoTest();
15 private:
16 	template <class List>
17 	void TestList(List &list, typename List::ValueType *values, int valueCount);
18 };
19 
20 #endif // _single_linked_list_test_h_
21