ProductTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| createProduct() | 0s | passed |
| createProductComparison() | 0.011s | passed |
| createProduct_CustomConstructor() | 0.003s | passed |
| createProduct_costNotValid() | 0s | passed |
| createProduct_nameNotValid() | 0.001s | passed |
Standard output
product = Product[name=Iphone, cost=999.99, type=GENERAL] product = Product[name=Iphone, cost=999.99, type=ELECTRONICS]