Skip to content

Commit

Permalink
Make minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryWang0000 committed Mar 13, 2024
1 parent ef39cb0 commit bab057d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/test/java/staffconnect/model/person/FacultyTest.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package staffconnect.model.person;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static staffconnect.testutil.Assert.assertThrows;

import org.junit.jupiter.api.Test;

public class FacultyTest {
@Test
public void constructor_null_throwsNullPointerException() {
Expand All @@ -30,8 +30,8 @@ public void isValidFaculty() {
assertFalse(Faculty.isValidFaculty(" ")); // spaces only

// valid Faculties
assertTrue(Faculty.isValidFaculty("~"));// one character
assertTrue(Faculty.isValidFaculty("School of Computing"));// long faculty
assertTrue(Faculty.isValidFaculty("~")); // one character
assertTrue(Faculty.isValidFaculty("School of Computing")); // long faculty
assertTrue(Faculty.isValidFaculty("abcdefg"));
}

Expand Down

0 comments on commit bab057d

Please sign in to comment.