This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2015:data:projects:sll3 [2015/03/10 12:31] – [node library] wedge | haas:spring2015:data:projects:sll3 [2015/03/30 16:26] (current) – [List library unit tests] wedge | ||
---|---|---|---|
Line 11: | Line 11: | ||
This section will document any updates applied to the project since original release: | This section will document any updates applied to the project since original release: | ||
- | * __revision | + | * __revision |
+ | * verify-group.sh updated with correct values | ||
+ | * all that remains now is lappend, linsert, and lobtain... hopefully before too long. | ||
+ | * __revision 2__: unit tests for lappend and linsert released (20150322) | ||
+ | * verify-group.sh updated with correct totals | ||
+ | * unit-lobtain and unit-rmgroup are still in need of completion; I'll be extending the deadline yet again to compensate for this (but I will be releasing the next project this week as originally planned). | ||
+ | * the issue is really one of distraction: | ||
+ | * so, there will be at least one more revision, when it is ready, to bring in the lobtain and rmgroup unit tests (don't worry, dll0 will not depend on ANY of the code we've written so far). | ||
+ | * __revision 3__: unit-lsetpos wasn't actually completed (20150329) | ||
+ | * on one of the last tests, it was segfaulting. This has been FIXED. | ||
+ | * verify-group.sh updated with corrected unit-lsetpos test count. | ||
+ | * unit-lobtain and unit-rmgroup still to be finished. | ||
+ | * __revision 4__: unit-lobtain and unit-rmgroup released (20150330) | ||
+ | * unit-rmgroup was held up by a bug in my lobtain() implementation; | ||
+ | * unit-lobtain, | ||
=====Objective===== | =====Objective===== | ||
Line 87: | Line 102: | ||
====List library unit tests==== | ====List library unit tests==== | ||
- | In **testing/ | + | In **testing/ |
- | + | ||
- | * **unit-ldisplay.c** | + | |
- | + | ||
- | NOTE: The other unit tests will be coming shortly. | + | |
These are complete runnable programs (when compiled, and linked against the group library, which is all handled for you by the **Makefile** system in place). | These are complete runnable programs (when compiled, and linked against the group library, which is all handled for you by the **Makefile** system in place). | ||
Line 135: | Line 146: | ||
====================================================== | ====================================================== | ||
= | = | ||
+ | ====================================================== | ||
+ | [mklist] Total: | ||
+ | [insert] Total: | ||
+ | [displayf] Total: | ||
+ | [getpos] Total: | ||
+ | [setpos] Total: | ||
+ | [append] Total: | ||
+ | [searchlist] Total: | ||
+ | [cplist] Total: | ||
+ | [displayb] Total: | ||
+ | | ||
+ | [obtain] Total: | ||
+ | | ||
+ | [rmlist] Total: | ||
+ | [swapnode] Total: | ||
+ | [sortlist] Total: | ||
+ | ====================================================== | ||
+ | | ||
+ | ====================================================== | ||
+ | lab46: | ||
+ | </ | ||
+ | |||
+ | ====group library==== | ||
+ | Here is what you should get for all the functions completed in the group library: | ||
+ | |||
+ | <cli> | ||
+ | lab46: | ||
+ | ====================================================== | ||
+ | = Verifying Singly-Linked Group List Functionality | ||
+ | ====================================================== | ||
+ | | ||
+ | [ldisplay] Total: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ====================================================== | ||
+ | | ||
====================================================== | ====================================================== | ||
lab46: | lab46: |