Replaced remaining € references
This commit is contained in:
@@ -85,8 +85,8 @@ class ProductCatalogueTest {
|
|||||||
String expectedString = "Product Catalogue: GPU\n" +
|
String expectedString = "Product Catalogue: GPU\n" +
|
||||||
"Description: Graphics Processing Units\n" +
|
"Description: Graphics Processing Units\n" +
|
||||||
"Products:\n" +
|
"Products:\n" +
|
||||||
"Product: [12345 from AmazonSeller (Amazon) at 0,00 € (available: no)]\n" +
|
"Product: [12345 from AmazonSeller (Amazon) at 0,00 Euro (available: no)]\n" +
|
||||||
"Product: [54321 from eBaySeller (eBay) at 0,00 € (available: no)]\n";
|
"Product: [54321 from eBaySeller (eBay) at 0,00 Euro (available: no)]\n";
|
||||||
|
|
||||||
Assertions.assertEquals(expectedString, productCatalogue.toString());
|
Assertions.assertEquals(expectedString, productCatalogue.toString());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class ProductTest {
|
|||||||
product1.setCurrentPrice(19.99);
|
product1.setCurrentPrice(19.99);
|
||||||
product1.setAvailable(true);
|
product1.setAvailable(true);
|
||||||
|
|
||||||
String expectedString1 = "Product: [12345 from Merchant A (Amazon) at 19,99 € (available: yes)]";
|
String expectedString1 = "Product: [12345 from Merchant A (Amazon) at 19,99 Euro (available: yes)]";
|
||||||
String result1 = product1.toString();
|
String result1 = product1.toString();
|
||||||
|
|
||||||
assertEquals(expectedString1, result1);
|
assertEquals(expectedString1, result1);
|
||||||
@@ -31,7 +31,7 @@ class ProductTest {
|
|||||||
product2.setCurrentPrice(9.99);
|
product2.setCurrentPrice(9.99);
|
||||||
product2.setAvailable(false);
|
product2.setAvailable(false);
|
||||||
|
|
||||||
String expectedString2 = "Product: [67890 from Merchant B (eBay) at 9,99 € (available: no)]";
|
String expectedString2 = "Product: [67890 from Merchant B (eBay) at 9,99 Euro (available: no)]";
|
||||||
String result2 = product2.toString();
|
String result2 = product2.toString();
|
||||||
|
|
||||||
assertEquals(expectedString2, result2);
|
assertEquals(expectedString2, result2);
|
||||||
|
|||||||
Reference in New Issue
Block a user