A problem with unit testing framework.
Problem statement:
Consider Share prices for a N number of companies given for each month since year
1990 in a CSV file. Format of the file is as below with first line as header.
Year,Month,Company A, Company B,Company C, .............Company N
1990, Jan, 10, 15, 20, , ..........,50
- List for each Company year and month in which the share price was highest.
- unit testcases
-
max-problem : ./max-problem.py < CSV_DATA_FILE
-
unit testing : ./unit_testing.py Please Note: unit_testing requires max-problem.py to be in current work directory