Skip to content

Commit

Permalink
Merge pull request #95 from jinhanfromNUS/fixCheckStyle
Browse files Browse the repository at this point in the history
Clean code
  • Loading branch information
Ty-stan0417 authored Mar 19, 2024
2 parents 9267422 + 8df62bd commit b161a54
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/test/java/seedu/address/logic/commands/EditCommandTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ public void execute_allFieldsSpecifiedUnfilteredList_success() {
Model expectedModel = new ModelManager(new AddressBook(model.getAddressBook()), new UserPrefs());
expectedModel.setPerson(model.getFilteredPersonList().get(0), editedPerson);

// Written by Jin Han, can delete if not used
// System.out.println("Edited person:");
// System.out.println(editedPerson);
// System.out.println("EditCommand:");
// System.out.println(editCommand);
// System.out.println("Expected Model");
// System.out.println(expectedModel);
// System.out.println("model");
// System.out.println(model);
assertCommandSuccess(editCommand, model, expectedMessage, expectedModel);
}

Expand All @@ -76,20 +67,6 @@ public void execute_someFieldsSpecifiedUnfilteredList_success() {
Model expectedModel = new ModelManager(new AddressBook(model.getAddressBook()), new UserPrefs());
expectedModel.setPerson(lastPerson, editedPerson);

// Written by Jin Han, can delete if want
// System.out.println("expected message:");
// System.out.println(expectedMessage);
// System.out.println("Edited person:");
// System.out.println(editedPerson);
// System.out.println("EditCommand:");
// System.out.println(editCommand);
// System.out.println("edit person descriptor:");
// System.out.println(descriptor);
// System.out.println("Expected Model");
// System.out.println(expectedModel);
// System.out.println("model");
// System.out.println(model);

assertCommandSuccess(editCommand, model, expectedMessage, expectedModel);
}

Expand Down

0 comments on commit b161a54

Please sign in to comment.