Add appropriate test cases to the test file


Problem

Function calculatePay that takes a list of tuples, where each tuple is of the form name, hours, hourly_rate and returns a list of tuples, where each tuple is of the form name, pay, where pay = hours * hourly_rate For example, if a tuple in a list comes in as (john, 100, 10}, then it goes into a new list as {john, 1000}. Add appropriate test cases to the test file.

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Add appropriate test cases to the test file
Reference No:- TGS03256903

Expected delivery within 24 Hours