Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java
Co-Authored-By: Libin Yang <contact@yanglibin.info>
This commit is contained in:
parent
6ffb2d5b4e
commit
321ebea864
@ -31,7 +31,7 @@ public class PolygonFactoryTest {
|
||||
}
|
||||
|
||||
|
||||
//Test for pentagon
|
||||
// Test for pentagon
|
||||
Polygon pentagon = polFactory.getPolygon(5);
|
||||
if (!"Pentagon".equals(pentagon.getType())) {
|
||||
failReason += "Polygon Factory failed for Pentagon.";
|
||||
|
Loading…
Reference in New Issue
Block a user