skip to Main Content
The smarter way
to do assignments.

Please note that this is just a preview of a school assignment posted on our website by one of our clients. If you need assistance with this question too, please click on the Order button at the bottom of the page to get started.

Set up your project with the given starting templates. The files should compile and run, but either no tests willbe run, or tests will run but be failing.2. For this project, start by uncommenting the first TEST_CASE in the assg07-tests.cpp file. These are the unittests to test the functionality of getSize() member function.3. Add the correct function prototype for the getSize() member function to the ListType class in theListType.hpp header file. The prototype consists of the name of the function, its input parameters and theirtypes, and the return value of the function.4. Add a implementation of the getSize() member function to the ListType.cpp implementation file. Thefunction should have the same signature as the prototype you gave in the header file. Documentation for the1function has not been given for you this time, so add documentation of your function first. Don’t forget toindicate that this function is a member of the ListType class.5. Your code should compile and run now. Make sure after adding the function prototype and stub your codecompiles and runs. However, your unit tests might be failing initially.6. Incrementally implement the functionality of your getSize() function (if needed). You should try to add nomore than 2 or 3 lines of code, and then make sure your program still compiles and runs. Start by adding codeto get the first failing test to pass. Then once that test passes, move on to the next failing tests until you haveall tests passing. If you write something that causes a previously passing test to fail, you should stop and figureout 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 getSize() function implemented and all unit tests passing, you should then move on to theother functions in the order suggested. Some member functions use previous ones in this assignment, so dothem in the order given for you in the tasks below.


Clicking on this button will take you to our custom assignment page. Here you can fill out all the additional details for this particular paper (grading rubric, academic style, number of sources etc), after which your paper will get assigned to a course-specific writer. If you have any issues/concerns, please don’t hesitate to contact our live support team or email us right away.

How It Works        |        About Us       |       Contact Us

© 2018 | Intelli Essays Homework Service®

Back To Top