%% TEST 1: A general case 
% The expected result is 49.48.

timeUsed = [0.5 4.0 8.0 1.2;
            3.0 0.0 0.0 5.0;
            7.4 0.0 0.0 3.5;
            2.0 1.0 1.5 4.0];
 
price = [0.8 0.8 0.9 0.9;
         0.8 0.0 0.0 0.9;
         1.5 0.0 0.0 1.5;
         1.5 1.5 1.5 1.9];
     
result = parkingRevenue(timeUsed, price);
expected_result = 49.48;

% Display a nice summary of this test case in the Command Window
disp("Test 1:");
disp("Result from calling parkingRevenue is:");
disp(result);
disp("Expected result is:");
disp(expected_result);
disp("-------------------"); % prints a line to help separate the test cases.
                             % this isn't necessary, just helpful for
                             % humans when we're reading the output!
                             
                             