This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2015:data:projects:dll1 [2015/04/04 20:13] – wedge | haas:spring2015:data:projects:dll1 [2015/04/15 18:48] (current) – [Errata] 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 |
=====Objective===== | =====Objective===== | ||
Line 42: | Line 42: | ||
</ | </ | ||
- | The following changes have taken place: | + | These functions will also make use of the status/error codes introduced in dll0. Additional effort |
- | + | ||
- | * **qty** has been removed from the list | + | |
- | * **getpos()**/**setpos()** are no longer present. In many ways their functionality is no longer needed with the doubly-linked nature of the list. | + | |
- | * **searchlist()** | + | |
- | * **displayf()/ | + | |
- | + | ||
- | There is now a set of status/ | + | |
====list operation status codes==== | ====list operation status codes==== | ||
You'll notice the presence of a set of # | You'll notice the presence of a set of # | ||
Line 71: | Line 63: | ||
ALL THREE states must be returned from the function in question should such an occurrence take place. | ALL THREE states must be returned from the function in question should such an occurrence take place. | ||
====list library==== | ====list library==== | ||
- | In **src/ | + | In **src/ |
- | + | ||
- | In **src/ | + | |
Figure out what is going on, the connections, | Figure out what is going on, the connections, | ||
Line 82: | Line 72: | ||
In **testing/ | In **testing/ | ||
- | * **unit-mklist.c** - unit test for **mklist()** library function | + | * **unit-rmlist.c** - unit test for **rmlist()** library function |
- | * **unit-cplist.c** - unit test for **cplist()** library function | + | * **unit-obtain.c** - unit test for **obtain()** library function |
- | * **unit-append.c** - unit test for **append()** library function | + | * **unit-compare.c** - unit test for **compare()** library function |
- | * **unit-insert.c** - unit test for **insert()** library function | + | * **unit-empty.c** - unit test for **empty()** library function |
- | * **unit-find.c** - unit test for **find()** library function | + | * **unit-sort.c** - unit test for **sort()** library function |
- | * **unit-display.c** - unit test for **display()** library function | + | * **unit-swap.c** - unit test for **swap()** library function |
- | Enhancements to these unit tests may be provided via dll0 project updates. | + | Enhancements to these unit tests may be provided via dll1 project updates. |
There are also corresponding **verify-FUNCTION.sh** scripts that will output a " | There are also corresponding **verify-FUNCTION.sh** scripts that will output a " | ||
Line 114: | Line 104: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
==================================================== | ==================================================== | ||
= Verifying Doubly-Linked Node Functionality | = Verifying Doubly-Linked Node Functionality | ||
Line 124: | Line 114: | ||
| | ||
==================================================== | ==================================================== | ||
- | lab46: | + | lab46: |
</ | </ | ||
+ | There were no changes required to the node library between dll0 and dll1, so once you achieved a working implementation, | ||
====list library==== | ====list library==== | ||
Here is what you should get for list: | Here is what you should get for list: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
- | coming soon... | + | ==================================================== |
- | lab46: | + | = Verifying Doubly-Linked List Functionality |
+ | ==================================================== | ||
+ | [mklist] Total: | ||
+ | [cplist] Total: | ||
+ | [append] Total: | ||
+ | [insert] Total: | ||
+ | | ||
+ | [find] Total: | ||
+ | | ||
+ | | ||
+ | [rmlist] Total: | ||
+ | [obtain] Total: | ||
+ | [swap] Total: | ||
+ | [sort] Total: | ||
+ | ==================================================== | ||
+ | | ||
+ | ==================================================== | ||
+ | lab46: | ||
</ | </ | ||
=====Submission Criteria===== | =====Submission Criteria===== |