COSC 2336 North Carolina State University Data Structures and Algorithms Thesis Paper
Question Description
Set up your project with the given starting code. The files should compile and run, but either no tests will be
run, or tests will run but be failing.
2. For this project, start by uncommenting the first TEST_CASE in the assg10-tests.cpp file. These are the unit
tests to test the functionality of your PriorityQueue enqueue() function, the class and overridden member
function you are to implement.
3. Add the PriorityQueue class to the Queue.hpp header file. The class should inherit from LQueue and override
the enqueue() method as described in more detail below.
4. Add a stub for your enqueue() member function to the assg07-stackfun.cpp implementation file. You could
start by doing nothing, or by copying the code of the enqueue() function from the LQueue class.
5. Your code should compile and run now. Make sure after adding the class and your stub method your code
compiles and runs. However, your unit tests will be failing initially.
6. Incrementally implement the functionality of your enqueue() member function. You should try to add no more
than 2 or 3 lines of code, and then make sure your program still compiles and runs. Start by adding code to get
the first failing test to pass. Then once that test passes, move on to the next failing tests until you have all
tests passing. If you write something that causes a previously passing test to fail, you should stop and figure
out why, and either fix it so that the original test still passes, or remove what you did and try a new approach.
7. Once you have the enqueue() member function implemented and all unit tests passing, you should then move
on to the other functions in the order suggested. Some functions use previous ones in this assignment, so do
them in the order given for you in the tasks below.
"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you "A" results."