test/test_list.cpp

changeset 618
1f5a8f6f3015
parent 616
af7d8a29fbc5
child 619
5e58187ac707
equal deleted inserted replaced
617:cec11387c1be 618:1f5a8f6f3015
949 auto right = pointerLinkedListFromTestData(); 949 auto right = pointerLinkedListFromTestData();
950 verifyCompare(left, right); 950 verifyCompare(left, right);
951 } 951 }
952 952
953 TEST_F(LinkedList, cxListCompareWithArrayList) { 953 TEST_F(LinkedList, cxListCompareWithArrayList) {
954 ASSERT_EQ(1,0); // TODO: remove when implemented
955 auto left = linkedListFromTestData(); 954 auto left = linkedListFromTestData();
956 auto right = arrayListFromTestData(); 955 auto right = arrayListFromTestData();
957 verifyCompare(left, right); 956 verifyCompare(left, right);
958 } 957 }
959 958
968 auto right = linkedListFromTestData(); 967 auto right = linkedListFromTestData();
969 verifyCompare(left, right); 968 verifyCompare(left, right);
970 } 969 }
971 970
972 TEST_F(PointerLinkedList, cxListCompareWithArrayList) { 971 TEST_F(PointerLinkedList, cxListCompareWithArrayList) {
973 ASSERT_EQ(1,0); // TODO: remove when implemented
974 auto left = pointerLinkedListFromTestData(); 972 auto left = pointerLinkedListFromTestData();
975 auto right = arrayListFromTestData(); 973 auto right = arrayListFromTestData();
976 verifyCompare(left, right); 974 verifyCompare(left, right);
977 } 975 }
978 976
982 auto right = arrayListFromTestData(); 980 auto right = arrayListFromTestData();
983 verifyCompare(left, right); 981 verifyCompare(left, right);
984 } 982 }
985 983
986 TEST_F(ArrayList, cxListCompareWithPtrList) { 984 TEST_F(ArrayList, cxListCompareWithPtrList) {
987 ASSERT_EQ(1,0); // TODO: remove when implemented
988 auto left = arrayListFromTestData(); 985 auto left = arrayListFromTestData();
989 auto right = pointerLinkedListFromTestData(); 986 auto right = pointerLinkedListFromTestData();
990 verifyCompare(left, right); 987 verifyCompare(left, right);
991 } 988 }
992 989
993 TEST_F(ArrayList, cxListCompareWithNormalList) { 990 TEST_F(ArrayList, cxListCompareWithNormalList) {
994 ASSERT_EQ(1,0); // TODO: remove when implemented
995 auto left = arrayListFromTestData(); 991 auto left = arrayListFromTestData();
996 auto right = linkedListFromTestData(); 992 auto right = linkedListFromTestData();
997 verifyCompare(left, right); 993 verifyCompare(left, right);
998 } 994 }
999 995

mercurial