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:30] – [list testing applications] 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 109: | Line 120: | ||
=====Expected Results===== | =====Expected Results===== | ||
- | To assist you in verifying a correct implementation, | + | To assist you in verifying a correct implementation, |
====node library==== | ====node library==== | ||
Line 115: | Line 126: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
==================================================== | ==================================================== | ||
= Verifying Singly-Linked Node Functionality | = Verifying Singly-Linked Node Functionality | ||
Line 125: | Line 136: | ||
[RESULTS] Total: | [RESULTS] Total: | ||
==================================================== | ==================================================== | ||
- | lab46: | + | lab46: |
</ | </ | ||
====list library==== | ====list library==== | ||
- | Here is what you should get for all the functions completed so far in the list library (sll0+sll1+sll2): | + | Here is what you should get for all the functions completed so far in the list library (sll0+sll1+sll2+sll3): |
<cli> | <cli> | ||
- | lab46: | + | lab46: |
====================================================== | ====================================================== | ||
= | = | ||
====================================================== | ====================================================== | ||
- | [mklist] Total: | + | [mklist] Total: |
- | [insert] Total: | + | [insert] Total: |
[displayf] Total: | [displayf] Total: | ||
[getpos] Total: | [getpos] Total: | ||
[setpos] Total: | [setpos] Total: | ||
- | [append] Total: | + | [append] Total: |
[searchlist] Total: | [searchlist] Total: | ||
- | [cplist] Total: | + | [cplist] Total: |
[displayb] Total: | [displayb] Total: | ||
| | ||
- | [obtain] Total: | + | [obtain] Total: |
| | ||
[rmlist] Total: | [rmlist] Total: | ||
Line 152: | Line 163: | ||
[sortlist] Total: | [sortlist] Total: | ||
====================================================== | ====================================================== | ||
- | | + | |
+ | ====================================================== | ||
+ | lab46: | ||
+ | </ | ||
+ | |||
+ | ====group library==== | ||
+ | Here is what you should get for all the functions completed in the group library: | ||
+ | |||
+ | < | ||
+ | lab46: | ||
+ | ====================================================== | ||
+ | = Verifying Singly-Linked Group List Functionality | ||
+ | ====================================================== | ||
+ | | ||
+ | [ldisplay] Total: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ====================================================== | ||
+ | | ||
====================================================== | ====================================================== | ||
- | lab46: | + | lab46: |
</ | </ | ||
=====Submission Criteria===== | =====Submission Criteria===== |