You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
376 B

#include "LinkedListTest.h"
#include <QTest>
#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);
}