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/22 22:02] – [Errata] wedge | haas:spring2015:data:projects:sll3 [2015/03/30 16:26] (current) – [List library unit tests] wedge | ||
---|---|---|---|
Line 19: | Line 19: | ||
* the issue is really one of distraction: | * 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). | * 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 94: | 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 142: | 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: |