Commit e9c9741
Changed files (1)
src
Q10
src/Q10/README.md
@@ -77,7 +77,13 @@ public class TaxReturn {
2. Description of the Code:
-[Briefly describe how you solved the problem in your code. You should include short description of classes, methods, and variables (if necessary) that you used in your code.]
+I started by adding tests for the existing code. By adding test coverage
+for the existing code, this makes it possible to add new features
+without breaking old features.
+
+I chose to decrease the taxable income in the constructor if the person
+is single.
+
3. Errors and Warnings:
@@ -86,8 +92,7 @@ Table 1: List of Errors and Warnings Encountered in the Program
4. Sample Input and Output:
-[Provide some test cases with sample input and output of your program.]
-5. Discussion:
+Test cases are defined in `TaxReturnTest.java`.
-[In this section, you may include some discussion about the debugging strategy that you used, e.g., searched the Web for a solution, contacted tutor, solved by self, used a debugging tool, posted in forum, talked to a friend, etc.]
+5. Discussion: