User Tools

Site Tools


haas:spring2015:data:projects:dll1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:spring2015:data:projects:dll1 [2015/04/04 20:16] – [Project Overview] wedgehaas: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 #__<description> (DATESTRING)+  * __revision 1__Implemented a few refinements to unit-obtain (20150415)
  
 =====Objective===== =====Objective=====
Line 63: 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/node/**, you will find skeletons of what was previously there, ready for you to re-implement. +In **src/list/**, you will find the addition of a new set of skeletons of the above prototyped functions, hollowed out in anticipation of being made operational.
- +
-In **src/list/**, you will find the same- skeletons of the above prototyped functions, hollowed out in anticipation of being made operational.+
  
 Figure out what is going on, the connections, and make sure you understand it. Figure out what is going on, the connections, and make sure you understand it.
Line 74: Line 72:
 In **testing/list/unit/**, you will find these new files: In **testing/list/unit/**, you will find these new files:
  
-  * **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 "MATCH"/"MISMATCH" to confirm overall conformance with the pertinent list functionality. There are also corresponding **verify-FUNCTION.sh** scripts that will output a "MATCH"/"MISMATCH" to confirm overall conformance with the pertinent list functionality.
Line 106: Line 104:
  
 <cli> <cli>
-lab46:~/src/data/dll0$ bin/verify-node.sh +lab46:~/src/data/dll1$ bin/verify-node.sh 
 ==================================================== ====================================================
 =    Verifying Doubly-Linked Node Functionality    = =    Verifying Doubly-Linked Node Functionality    =
Line 116: Line 114:
  [RESULTS] Total:  13, Matches:  13, Mismatches:   0  [RESULTS] Total:  13, Matches:  13, Mismatches:   0
 ==================================================== ====================================================
-lab46:~/src/data/dll0+lab46:~/src/data/dll1
 </cli> </cli>
  
 +There were no changes required to the node library between dll0 and dll1, so once you achieved a working implementation, the results should remain the same here.
 ====list library==== ====list library====
 Here is what you should get for list: Here is what you should get for list:
  
 <cli> <cli>
-lab46:~/src/data/dll0$ bin/verify-list.sh  +lab46:~/src/data/dll1$ bin/verify-list.sh  
-coming soon... +==================================================== 
-lab46:~/src/data/dll0+=    Verifying Doubly-Linked List Functionality    = 
 +==================================================== 
 +  [mklist] Total:  11, Matches:  11, Mismatches:   0 
 +  [cplist] Total:  17, Matches:  17, Mismatches:   0 
 +  [append] Total:  22, Matches:  22, Mismatches:   0 
 +  [insert] Total:  22, Matches:  22, Mismatches:   0 
 + [display] Total:  12, Matches:  12, Mismatches:   0 
 +    [find] Total:  28, Matches:  28, Mismatches:   0 
 + [compare] Total:  18, Matches:  18, Mismatches:   0 
 +   [empty] Total:   6, Matches:   6, Mismatches:   0 
 +  [rmlist] Total:   6, Matches:   6, Mismatches:   0 
 +  [obtain] Total:  57, Matches:  57, Mismatches:   0 
 +    [swap] Total:   9, Matches:   9, Mismatches:   0 
 +    [sort] Total:  42, Matches:  42, Mismatches:   0 
 +==================================================== 
 + [RESULTS] Total: 250, Matches: 250, Mismatches:   0 
 +==================================================== 
 +lab46:~/src/data/dll1
 </cli> </cli>
 =====Submission Criteria===== =====Submission Criteria=====
haas/spring2015/data/projects/dll1.1428178580.txt.gz · Last modified: 2015/04/04 20:16 by wedge