Skip to content

Commit

Permalink
Fix checkstyle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
larrywang0701 committed Nov 1, 2023
1 parent 65cffe8 commit 80c07e5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/test/java/seedu/address/model/event/EventTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

import org.junit.jupiter.api.Test;

public class EventTest {
@Test
public void test_eventEquals_pass() {
assertEquals(new Event("Sample", "00:01", "00:02", "Location", "Information"),
assertEquals(
new Event("Sample", "00:01", "00:02", "Location", "Information"),
new Event("Sample", "00:01", "00:02", "Location", "Information"));
assertNotEquals(new Event("Sample", "00:01", "00:02", "Location", "Information"),
assertNotEquals(
new Event("Sample", "00:01", "00:02", "Location", "Information"),
new Event("Sample", "00:02", "00:03", "Location", "Information"));
}

Expand Down

0 comments on commit 80c07e5

Please sign in to comment.