Skip to content

Conversation

NelltheWiz
Copy link
Contributor

No description provided.

Copy link
Contributor

@anthonydmays anthonydmays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checks aren't passing. Looks like you need to format your code.

@NelltheWiz NelltheWiz requested a review from anthonydmays April 11, 2025 14:15
assertThat(testEmployee).isEqualTo(testEmployee);
assertThat(testEmployee2).isEqualTo(testEmployee2);

// int actual = employees.getEmployeeCount();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot commit commented out code.


@Test
void getIdTest() {
Employee employee1 = new Employee(1, "John", "Marketing", 50000.0); // Arrange
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code comment goes above the line of code it describes, not at the end of the line. Fix here and below.

@@ -45,4 +45,9 @@ public double getSalary() {
public void setSalary(double salary) {
this.salary = salary;
}

public String getDetails() {
// TODO Auto-generated method stub
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this TODO still valid? If not, then remove.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants