#include "LinkedListTest.h" #include #include "SortedLinkedList.h" #include "Node.h" LinkedListTest::LinkedListTest() { } void LinkedListTest::test() { LinkedList linkList; auto l = linkList.Initiate("D:/git commands/App-Log-Reader/test.usl"); SortedLinkedList t(l); auto result = t.chainLenSorting(1, 2); QCOMPARE(result.last()->chainLen, 2); }