User Tools

Site Tools


queues

Differences

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

Link to this comparison view

queues [2015/12/23 17:28]
hutch
queues [2015/12/23 17:34] (current)
hutch
Line 14: Line 14:
   - Your queue_runTest() must do at least the following:   - Your queue_runTest() must do at least the following:
     - test all of the functions listed in queue.h.     - test all of the functions listed in queue.h.
-    - perform 5 overwritePush(),​ followed by 3 pop(), followed by 5 overwritePush(),​ followed by queue_print(). Then, perform readElementAt() for each value remaining in the queue to verify that the contents are correct. ​Was will verify that your test code performs at least these functions.+    - perform 5 overwritePush(),​ followed by 3 pop(), followed by 5 overwritePush(),​ followed by queue_print(). Then, perform readElementAt() for each value remaining in the queue to verify that the contents are correct. ​TAs will verify that your test code performs at least these functions.
   - You must follow the same [[http://​ecen330wiki.groups.et.byu.net/​wiki/​doku.php?​id=coding_standards|coding standards]] as was done for ECEN 330.   - You must follow the same [[http://​ecen330wiki.groups.et.byu.net/​wiki/​doku.php?​id=coding_standards|coding standards]] as was done for ECEN 330.
   - You are not allowed to pass off your code if it has more than 5 coding-standard infractions.   - You are not allowed to pass off your code if it has more than 5 coding-standard infractions.
Line 133: Line 133:
 I have provided the source code for your "​.h"​ file and part of the code for your "​.c"​ file. As I said before, you are not required to implement the queue as I have shown here. However, you must implement all of the functions that are contained in the "​.h"​ file. I have provided the source code for your "​.h"​ file and part of the code for your "​.c"​ file. As I said before, you are not required to implement the queue as I have shown here. However, you must implement all of the functions that are contained in the "​.h"​ file.
  
-<file c>+<file c queue.h>
  
 /* /*
Line 204: Line 204:
 ------------- -------------
  
-<code C>+<file queue.c>
  
 /* /*
Line 229: Line 229:
 } }
  
-</code>+</file>
  
 ---- ----
Line 239: Line 239:
   - If your queue fails this test, it means that your queue_runTest() code is not very thorough. As you fix your queue code, update your queue_runTest() function so that it more fully tests your queue.   - If your queue fails this test, it means that your queue_runTest() code is not very thorough. As you fix your queue code, update your queue_runTest() function so that it more fully tests your queue.
   - If your queue fails the more thorough test code that I provide, it is your responsibility to add code to your queue_runTest() code until it detects the bug.   - If your queue fails the more thorough test code that I provide, it is your responsibility to add code to your queue_runTest() code until it detects the bug.
- 
-Common Bugs: 
- 
  
 <code C> <code C>
queues.1450916918.txt.gz ยท Last modified: 2015/12/23 17:28 by hutch