File tree Expand file tree Collapse file tree 1 file changed +16
-18
lines changed
src/test/java/com/github/streams/interview/problems/employee Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Original file line number Diff line number Diff line change 77import org .junit .jupiter .api .Disabled ;
88import org .junit .jupiter .api .Test ;
99
10- /**
11- * Calculation of the sum of salaries in each department.<br>
12- *
13- * <h2>Input:</h2>
14- *
15- * <li>Employee("John", "Sales", 50000)
16- * <li>Employee("Jane", "Marketing", 60000)
17- * <li>Employee("Bob", "Sales", 70000) <br>
18- *
19- * <h2>Output:</h2>
20- *
21- * <pre>
22- * {
23- * "Sales": 120000,
24- * "Marketing": 60000
25- * }
26- * </pre>
27- */
10+ /// ## Calculates the sum of salaries in each department.
11+ ///
12+ /// ### Input:
13+ ///
14+ /// - Employee("John", "Sales", 50000)
15+ /// - Employee("Jane", "Marketing", 60000)
16+ /// - Employee("Bob", "Sales", 70000)
17+ ///
18+ /// ### Output:
19+ ///
20+ /// ```json
21+ /// {
22+ /// "Sales": 120000,
23+ /// "Marketing": 60000
24+ /// }
25+ /// ```
2826class C_SumOfSalaryInEachDept {
2927 @ Test
3028 @ Disabled
You can’t perform that action at this time.
0 commit comments