Question: Implementing run_unit_tests You are given this code for run_unit tests. void run_unit tests(void) // 2 example unit tests //UTC midnight on 20th March ->time in

 Implementing run_unit_tests You are given this code for run_unit tests. void

Implementing run_unit_tests You are given this code for run_unit tests. void run_unit tests(void) // 2 example unit tests //UTC midnight on 20th March ->time in Sydney: 11am AEDT assert (get_local_time (TOWN_SYDNEY, 3, 20, 0) 1100) // 42 is not a valid month assert(get_local_time(TOWN_SYDNEY, 42, ,INVALID_INPUT) //ADD YOUR ASSERT STATEMENTS HERE // you should add at least 40 more assert statements to this function // with a comment for each test explaining it // there should be comment before this function // explaining your overall testing strategy run_unit_tests includes two unit tests. Add your own unit tests for inputs to run_unit_tests. Implement them in exactly the same way as the example unit tests using assert statements. Do not take the inputs autotest uses and add them to run_unit_tests - invent your own tests

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!