Skip to content

Commit c5f1d79

Browse files
committed
Markdown Documentation Comments
1 parent e49db7b commit c5f1d79

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

src/test/java/com/github/streams/interview/problems/employee/C_SumOfSalaryInEachDept.java

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,22 @@
77
import org.junit.jupiter.api.Disabled;
88
import 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+
/// ```
2826
class C_SumOfSalaryInEachDept {
2927
@Test
3028
@Disabled

0 commit comments

Comments
 (0)