xref: /haiku/src/tests/system/kernel/util/SinglyLinkedListTest.h (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
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 private:
15 	template <class List, class Element>
16 	void TestList(List &list, Element *values, int valueCount);
17 };
18 
19 #endif // _single_linked_list_test_h_
20