C++
SplitLists function requirements: SplitLists(UnsortedType list, ItemType item, UnsortedType& listl, UnsortedType& list2) Function: divides list into two lists according to the key of Preions has been initalized and is not empty Postconditions: listl contains all the items of list whose keys are less than or equal to item's key; list2 contains all the items of list whose keys are greater than item's key 2.(50 points) Describe and implement the testcases for the functions SplitLists, MakeEmpty, Insertltem, Deleteltem, Retrieveltem, ResetList, GetNextItem based on their Preconditions and Postconditions Provide a text file (Word doc) with an itemized description of each set of testcases for each of the above mentioned functions followed by a printout of running those testcases. Format of the text file with itemized description of testcases: Function declaration Description of testcases for that function (commented source code) Printout of results of running testcases for that function SplitLists function requirements: SplitLists(UnsortedType list, ItemType item, UnsortedType& listl, UnsortedType& list2) Function: divides list into two lists according to the key of Preions has been initalized and is not empty Postconditions: listl contains all the items of list whose keys are less than or equal to item's key; list2 contains all the items of list whose keys are greater than item's key 2.(50 points) Describe and implement the testcases for the functions SplitLists, MakeEmpty, Insertltem, Deleteltem, Retrieveltem, ResetList, GetNextItem based on their Preconditions and Postconditions Provide a text file (Word doc) with an itemized description of each set of testcases for each of the above mentioned functions followed by a printout of running those testcases. Format of the text file with itemized description of testcases: Function declaration Description of testcases for that function (commented source code) Printout of results of running testcases for that function