Skip to content

Commit

Permalink
Merge pull request nus-cs2113-AY2324S2#47 from Ijaaz01/TestBugFix
Browse files Browse the repository at this point in the history
Fix flowertest
  • Loading branch information
IanFH authored Mar 20, 2024
2 parents 0fc9588 + 73f4ed5 commit f1698de
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/test/java/florizz/objects/FlowerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,4 @@ void testGetName() {
assertEquals("Orchid",flower.getFlowerName());
}

@Test
void testToString() {
Flower flower = new Flower("Rose","Red","Valentines Day");
assertEquals("Name: Rose\nColour: Red\nOccasion: Valentines Day\n",flower.toString());
}
}

0 comments on commit f1698de

Please sign in to comment.