Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
4003CEM-testing/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16 lines (13 sloc)
816 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 4003cem-testing | |
## lab_age | |
Complete the age_description function in the lab_age.h file so that it passes all the unit tests in the Testing/test_age.cpp file. | |
This will probably be easier if you use the appropriate cmake and test commands. | |
## lab_vowels | |
Write a appropriate set of test cases and assertions for the count_vowels() function supplied for you in the lab_vowels.h file. | |
Some basic tests have been supplied for you in the test_vowels.cpp file. | |
We are expecting at least 10 assertions. | |
## lab_tax | |
Convert your UK tax code from 4000CEM into C++. Function headers have been supplied for you in the lab_tax.h file. | |
Once you have finished converting your code, write an appropriate series of unit tests in the test_tax.cpp file. | |
Make sure to check for edge cases. | |
We are expecting at least 15 assertions. |