Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assist me in solving the failed test cases. I included all the classes, tester class content & output. public class MenuDish { private String name;

Assist me in solving the failed test cases. I included all the classes, tester class content & output.

public class MenuDish {

private String name; private String description; double price; private int category; private int spiciness; private boolean isHealthy; protected int day; protected boolean available;

public static final int APPETIZER = 0; public static final int SOUP = 1; public static final int SALAD = 2; public static final int BURGER = 3; public static final int ENTREE = 4; public static final int DESERT = 5; public static final int DRINK = 6; public static final String[] categories = {"Appetizers", "Soups", "Salads", "Burgers & Sandwiches", "Entrees", "Deserts", "Beverages"}; public static final int MONDAY = 0; public static final int TUESDAY = 1; public static final int WEDNESDAY = 2; public static final int THURSDAY = 3; public static final int FRIDAY = 4; public static final int SATURDAY = 5; public static final int SUNDAY = 6;

public MenuDish() { this.name = null; this.description = null; this.price = 0.0; this.category = 0; this.spiciness = 0; this.isHealthy = false; }

public MenuDish(String name) { this.name = name; this.description = null; this.price = 0.0; this.category = 0; this.spiciness = 0; this.isHealthy = false; }

public MenuDish(String name, double price, int category) { this.name = name; this.description = null; if (price < 0) { this.price = 0; } else { this.price = price; } if (category < 0) { this.category = 0; } else { this.category = category; } this.spiciness = 0; this.isHealthy = false; }

@Override public boolean equals(Object o) { if (o instanceof MenuDish) {

MenuDish menuDish = (MenuDish)o;

if (this.name.equalsIgnoreCase(menuDish.getName())) { return true; } else { return false; } } else { return false; } }

public String getName() { return name; }

public String getDescription() { return description; }

public double getPrice() { return price; }

public int getCategory() { return category; }

public int getSpiciness() { return spiciness; }

public boolean isHealthy() { return isHealthy; }

public MenuDish setName(String name) { this.name = name; return this; }

public MenuDish setDescription(String description) { this.description = description; return this; }

public MenuDish setPrice(double price) { if (price > 0) { this.price = price; } return this; }

public MenuDish setCategory(int category) { if (category > 0) { this.category = category; } return this; }

public MenuDish setSpiciness(int spiciness) { if (spiciness >= 0 && spiciness <= 3) { this.spiciness = spiciness; } return this; }

public MenuDish setHealthy(boolean healthy) { this.isHealthy = healthy; return this; }

private int getDay() { return day; }

public MenuDish setDay(int day) { this.day = day; return this; }

private void setAvailable(boolean available) { this.available = available; }

public boolean available() { return true; } @Override public String toString() {

String display = " " + this.name;

if(this.isHealthy)

display+="+";

for(int i=0;i

display+="*";

display+="($";

display+= String.format("%.2f",this.price);

display+=") ";

display+=" "+this.description;

return display;

} }

________________________________________________________

public class RestaurantMenu {

protected MenuDish[] list;

public RestaurantMenu() { list = new MenuDish[10]; }

public RestaurantMenu(int listsize) { list = new MenuDish[listsize]; }

public RestaurantMenu add(MenuDish dish) {

for (int i = 0; i < list.length; i++) { if (list[i] == null) { list[i] = dish; break; } } return this; }

public RestaurantMenu remove(MenuDish dish) { for (int i = 0; i < list.length; i++) { if (list[i] != null && list[i].equals(dish)) { list[i] = null; break; } } return this; }

public int getNumCategory(int category) { int count = 0; for (int i = 0; i < list.length; i++) { if (list[i] != null && list[i].available() && list[i].getCategory() == category) { count++; } } return count; }

public void printMenu() {

for (int i = 0; i < MenuDish.categories.length; i++) {

if (getNumCategory(i) > 0) {

System.out.println(MenuDish.categories[i] + " ");

for (int j = 0; j < list.length; j++) {

if (list[j] != null && list[j].available() && list[j].getCategory() == i) {

System.out.println(list[j].toString());

}

}

}

}

}

public void printMenu(int[] cats) {

for (int i = 0; i < cats.length; i++) {

if (getNumCategory(cats[i]) > 0) {

System.out.println(MenuDish.categories[cats[i]] + " ");

for (int j = 0; j < list.length; j++) {

if (list[j] != null && list[j].available() && list[j].getCategory() == cats[i]) {

System.out.println(list[j].toString());

}

}

}

}

}

public void setDay(int day) { for (int i = 0; i < list.length; i++) { if (list[i] != null) { list[i].setDay(day); } } } }

________________________________________________________________

public class AdjustableMenuDish extends MenuDish {

public AdjustableMenuDish() { super();

}

public AdjustableMenuDish(String name) { super(name);

}

public AdjustableMenuDish(String name, double price, int category) { super(name, price, category); }

public MenuDish setAvailability(boolean available) {

return this; }

@Override public MenuDish setDay(int day) { return this; }

}

_______________________________________________________________

public class ResizeableMenu extends RestaurantMenu {

public ResizeableMenu() { super(); }

public ResizeableMenu(int listsize) { super(listsize); }

@Override public RestaurantMenu add(MenuDish dish) {

boolean added = false; ResizeableMenu menu = this;

for (int i = 0; i < list.length; i++) { if (list[i] == null) { list[i] = dish; added = true; break; } }

if (added == false) { ResizeableMenu menu2 = new ResizeableMenu(menu.list.length + 10); for (int i = 0; i < menu.list.length; i++) { menu2.add(menu.list[i]); }

menu2.add(dish); menu = (ResizeableMenu) menu2; } return menu; } }

_________________________________________________________________

Tester.java

/** Example of using unit tests for this assignment. To run them on the command line, make * sure that the junit-cs211.jar is in the same directory. * * On Mac/Linux: * javac -cp .:junit-cs211.jar *.java # compile everything * java -cp .:junit-cs211.jar P2tester # run tests * * On windows replace colons with semicolons: (: with ;) * demo$ javac -cp .;junit-cs211.jar *.java # compile everything * demo$ java -cp .;junit-cs211.jar P2tester # run tests */ import org.junit.*; import static org.junit.Assert.*; import java.util.*; import java.io.ByteArrayOutputStream; import java.io.PrintStream; public class P2tester { public static void main(String args[]){ org.junit.runner.JUnitCore.main("P2tester"); }

static ByteArrayOutputStream localOut, localErr; static PrintStream sOut, sErr;

@BeforeClass public static void setup() throws Exception { sOut = System.out; sErr = System.err; } @Test public void menudish_constructors_exist() { MenuDish dish = new MenuDish();

dish = new MenuDish("test"); assertEquals("MenuDish(String) constructor fails to initialize dish name", "test", dish.getName());

dish = new MenuDish("test",5.0,5); assertEquals("MenuDish(String,double,int) constructor fails to initialize dish name", "test", dish.getName()); assertEquals("MenuDish(String,double,int) constructor fails to initialize dish price", 5.0, dish.getPrice(),0.0001); assertEquals("MenuDish(String,double,int) constructor fails to initialize dish category", 5, dish.getCategory()); }

private String[] test_names = { "Chicken wings", "Shrimp", "Broiled spiced platypus eggs", "Miso soup", "Chicken noodle", "Avacado pumpkin puree", "Chicken caesar salad", "Garden salad", "Kelp & octopus tentacle salad", "Mushroom burger", "Veggie burger", "Overclocked-CPU grilled burger", "Fetuccini alfredo", "Broiled salmon", "Turducken", "Ice cream", "Tiramisu", "Bowl of sugar", "Wine", "Iced tea", "Miruvor" }; private String[] test_descs = { "Baked Buffalo chicken glazed with spicy sauce", "Chilled and shelled, served with seafood sauce", "A spicy delicacy from down under", "Hot miso mixed with tofu and wakame", "Tastes like home", "Better than it sounds!", "Romain lettuce, grilled chicken and croutons, topped with Caesar sauce", "Garden-grown fresh, lettuce, spinach and tomatoes", "A tasty salad featuring some of the mysteries of the sea", "Savory 1/4lb angus burger topped with portabella and melted provalone", "Vegetable patty topped with lettuce, tomatoes, onions and pickles", "We use only the hottest-running CPUs to bring you a truly well-done burger", "Fettucini noodles cooked with the chef's special cheese sauce", "Live caught from underwater Martian water reserves", "A traditional feast consisting of a deboned turkey stuffed with a duck stuffed with a chicken", "Chilled in real Antarctic ice, comes in an assortment of flavors", "A rich layered desert made of creamy custard and expresso-soaked ladyfingers", "A huge bowl of leftover Halloween candy", "1636 vintage", "Sweetened or unsweetened", "An elven liquor with magical healing powers" }; private double[] test_prices = { 8.00, 8.00, 15.00, 4.21, 4.12, 4.01, 6.00, 6.00, 192.21, 8.00, 8.50, 9.95, 16.70, 20.50, 22.00, 6.50, 7.50, 0.99, 19.99, 2.50, 29292.92 }; private int[] test_cats = { 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6 }; private boolean[] test_healths = { false, false, false, true, false, true, false, true, true, false, true, false, false, false, false, false, false, false, false, false, true }; private int[] test_spices = { 2, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 3 }; private String[] test_full = { " Chicken wings** ($8.00) Baked Buffalo chicken glazed with spicy sauce", " Shrimp ($8.00) Chilled and shelled, served with seafood sauce", " Broiled spiced platypus eggs*** ($15.00) A spicy delicacy from down under", " Miso soup+ ($4.21) Hot miso mixed with tofu and wakame", " Chicken noodle ($4.12) Tastes like home", " Avacado pumpkin puree+ ($4.01) Better than it sounds!", " Chicken caesar salad ($6.00) Romain lettuce, grilled chicken and croutons, topped with Caesar sauce", " Garden salad+ ($6.00) Garden-grown fresh, lettuce, spinach and tomatoes", " Kelp & octopus tentacle salad+ ($192.21) A tasty salad featuring some of the mysteries of the sea", " Mushroom burger ($8.00) Savory 1/4lb angus burger topped with portabella and melted provalone", " Veggie burger+ ($8.50) Vegetable patty topped with lettuce, tomatoes, onions and pickles", " Overclocked-CPU grilled burger* ($9.95) We use only the hottest-running CPUs to bring you a truly well-done burger", " Fetuccini alfredo ($16.70) Fettucini noodles cooked with the chef's special cheese sauce", " Broiled salmon ($20.50) Live caught from underwater Martian water reserves", " Turducken ($22.00) A traditional feast consisting of a deboned turkey stuffed with a duck stuffed with a chicken", " Ice cream ($6.50) Chilled in real Antarctic ice, comes in an assortment of flavors", " Tiramisu ($7.50) A rich layered desert made of creamy custard and expresso-soaked ladyfingers", " Bowl of sugar ($0.99) A huge bowl of leftover Halloween candy", " Wine ($19.99) 1636 vintage", " Iced tea ($2.50) Sweetened or unsweetened", " Miruvor+*** ($29292.92) An elven liquor with magical healing powers" };

@Test public void menudish_name_getset() { MenuDish dish = new MenuDish(); for (int i=0; i < test_names.length; i++) { dish.setName( test_names[i] ); String s = dish.getName(); String err = "expected: " + test_names[i] + " " + "actual: " + s + " "; assertEquals( err, test_names[i], s ); } }

@Test public void menudish_description_getset() { MenuDish dish = new MenuDish(); for (int i=0; i < test_descs.length; i++) { dish.setDescription( test_descs[i] ); String s = dish.getDescription(); String err = "expected: " + test_descs[i] + " " + "actual: " + s + " "; assertEquals( err, test_descs[i], s ); } }

@Test public void menudish_price_getset() { MenuDish dish = new MenuDish(); for (int i=0; i < test_prices.length; i++) { dish.setPrice( test_prices[i] ); double p = dish.getPrice(); String err = "expected: " + test_prices[i] + " " + "actual: " + p + " "; assertEquals( err, test_prices[i], p, 0.0001 ); } }

@Test public void menudish_price_neg() { MenuDish dish = new MenuDish(); dish.setPrice(-10.0); double p = dish.getPrice(); assertEquals(0.0, p, 0.0001); }

@Test public void menudish_spiciness_getset() { MenuDish dish = new MenuDish(); for (int i=0; i < test_spices.length; i++) { dish.setSpiciness( test_spices[i] ); int p = dish.getSpiciness(); String err = "expected: " + test_spices[i] + " " + "actual: " + p + " "; assertEquals( err, test_spices[i], p ); } }

@Test public void menudish_spiciness_bounds() { MenuDish dish = new MenuDish(); dish.setSpiciness(-3); int s = dish.getSpiciness(); String err = "unfilterd negative: " + s + " "; assertEquals(err, 0, s); dish.setSpiciness(4); s = dish.getSpiciness(); err = "unfilterd positive: " + s + " "; assertEquals(err, 0, s); }

@Test public void menudish_category_getset() { MenuDish dish = new MenuDish(); for (int i=0; i < test_cats.length; i++) { dish.setCategory( test_cats[i] ); int p = dish.getCategory(); String err = "expected: " + test_cats[i] + " " + "actual: " + p + " "; assertEquals( err, test_cats[i], p ); } }

@Test public void menudish_category_neg() { MenuDish dish = new MenuDish(); dish.setCategory(-3); int c = dish.getCategory(); String err = "unfilterd negative: " + c + " "; assertEquals(err, 0, c); }

@Test public void menudish_healthy_getset() { MenuDish dish = new MenuDish(); for (int i=0; i < test_healths.length; i++) { dish.setHealthy( test_healths[i] ); boolean p = dish.isHealthy(); String err = "expected: " + test_healths[i] + " " + "actual: " + p + " "; assertEquals( err, test_healths[i], p ); } }

@Test public void menudish_assert_setday() { MenuDish dish = new MenuDish(); dish.setDay(0); dish.setPrice(10.00); dish.setDay(5); double p = dish.getPrice(); String err = "unexpected price change: 10.00 to " + p + " "; assertEquals(err, 10.00, p, 0.0001 ); }

@Test public void menudish_assert_avail() { MenuDish dish = new MenuDish(); boolean a = dish.available(); assertTrue("availability should always be true", a); }

private void setChain(MenuDish dish, int i) { dish.setName(test_names[i]).setDescription(test_descs[i]).setPrice(test_prices[i]).setCategory(test_cats[i]).setHealthy(test_healths[i]).setSpiciness(test_spices[i]); }

private void checkDish(MenuDish dish, int i) { String err; String name = dish.getName(); err = "expected: " + test_names[i] + " " + "actual: " + name + " "; assertEquals( err, test_names[i], name );

String desc = dish.getDescription(); err = "expected: " + test_descs[i] + " " + "actual: " + desc + " "; assertEquals( err, test_descs[i], desc );

double price = dish.getPrice(); err = "expected: " + test_prices[i] + " " + "actual: " + price + " "; assertEquals( err, test_prices[i], price, 0.0001 );

int cat = dish.getCategory(); err = "expected: " + test_cats[i] + " " + "actual: " + cat + " "; assertEquals( err, test_cats[i], cat );

int spice = dish.getSpiciness(); err = "expected: " + test_spices[i] + " " + "actual: " + spice + " "; assertEquals( err, test_spices[i], spice );

boolean health = dish.isHealthy(); err = "expected: " + test_healths[i] + " " + "actual: " + health + " "; assertEquals( err, test_healths[i], health ); }

@Test public void menudish_chain_test() { MenuDish dish = new MenuDish(); for (int i = 0; i < test_names.length; i++) { setChain(dish, i); checkDish(dish, i); } }

@Test public void menudish_equals_test() { MenuDish dish1 = new MenuDish(); MenuDish dish2 = new MenuDish(); for (int i = 0; i < test_names.length; i++) { setChain(dish1, i); setChain(dish2, i); String err = "equals method failed to recognize two equivalent dishes"; assertTrue( err, dish1.equals(dish2) ); } }

@Test public void menudish_tostring() { MenuDish dish = new MenuDish(); for (int i = 0; i < test_names.length; i++) { setChain(dish, i); String s = dish.toString(); String err = "expected: " + test_full[i] + " " + "actual: " + s + " "; assertTrue(err, test_full[i].equals(s)); } }

@Test public void adjmenudish_constructors_exist() { AdjustableMenuDish dish = new AdjustableMenuDish();

dish = new AdjustableMenuDish("test"); assertEquals("MenuDish(String) constructor fails to initialize dish name", "test", dish.getName());

dish = new AdjustableMenuDish("test",5.0,5); assertEquals("AdjustableMenuDish(String,double,int) constructor fails to initialize dish name", "test", dish.getName()); assertEquals("AdjustableMenuDish(String,double,int) constructor fails to initialize dish price", 5.0, dish.getPrice(),0.0001); assertEquals("AdjustableMenuDish(String,double,int) constructor fails to initialize dish category", 5, dish.getCategory()); } @Test public void adjmenudish_inherits() { AdjustableMenuDish dish = new AdjustableMenuDish(); assertTrue("AdjustableMenuDish not an instance of MenuDish", (dish instanceof MenuDish)); } @Test public void adjmenudish_daily_prices() { AdjustableMenuDish dish = new AdjustableMenuDish(); for (int i = MenuDish.MONDAY; i <= MenuDish.SUNDAY; i++) { double p = 1.0+i; double a = dish.setDay(i).setPrice( p ).getPrice(); assertEquals(p, a, 0.0001); } // second pass for (int i = MenuDish.MONDAY; i <= MenuDish.SUNDAY; i++) { double p = 1.0+i; double a = dish.setDay(i).getPrice(); assertEquals(p, a, 0.0001); } }

@Test public void adjmenudish_daily_avail() { AdjustableMenuDish dish = new AdjustableMenuDish(); for (int i = MenuDish.MONDAY; i <= MenuDish.SUNDAY; i++) { boolean p = (i%2 == 0); dish.setDay(i); boolean a = dish.setAvailability( p ).available(); assertTrue("Availability does not match on day "+i, p==a); } // second pass for (int i = MenuDish.MONDAY; i <= MenuDish.SUNDAY; i++) { boolean p = (i%2 == 0); boolean a = dish.setDay(i).available(); assertTrue("Availability does not match on day "+i, p==a); } } @Test public void restaurantmenu_constructors_exist() { RestaurantMenu menu = new RestaurantMenu(); menu = new RestaurantMenu(15); }

private void buildMenu(RestaurantMenu menu) { for (int i=0; i < test_names.length; i++) { MenuDish dish = new MenuDish(); setChain(dish, i); menu.add(dish); } }

@Test public void restaurantmenu_sizings_check() { RestaurantMenu menu = new RestaurantMenu(); for (int i = 0; i < 12; i++) { int j = i+1; if (i >= 10) j = 10; MenuDish dish = new MenuDish("test" + i, 0.0, 1); menu.add(dish); assertEquals( j, menu.getNumCategory(1) ); } }

private int getTotal(RestaurantMenu menu) { int sum = 0; for (int i=0; i < 7; i++) sum += menu.getNumCategory(i); return sum; }

@Test public void restaurantmenu_remove_check() { RestaurantMenu menu = new RestaurantMenu(); for (int i = 0; i < 10; i++) { MenuDish dish = new MenuDish(); setChain(dish, i); menu.add(dish); assertEquals( (i+1), getTotal(menu) ); } for (int i = 0; i < 10; i++) { MenuDish dish = new MenuDish(); setChain(dish, i+10); menu.remove(dish); assertEquals( 10, getTotal(menu) ); } for (int i = 0; i < 9; i++) { MenuDish dish = new MenuDish(); setChain(dish, i); menu.remove(dish); assertEquals( (9-i), getTotal(menu) ); } for (int i = 0; i < 9; i++) { MenuDish dish = new MenuDish(); setChain(dish, (i+10)); menu.add(dish); assertEquals( (i+2), getTotal(menu) ); } }

@Test public void restaurantmenu_numcategories() { RestaurantMenu menu = new RestaurantMenu(25); buildMenu(menu); for (int i=0; i < 7; i++) { int c = menu.getNumCategory( i ); String err = "expected: 3 actual: " + c + " "; assertEquals( err, 3, c ); } }

private void setCapture() { localOut = new ByteArrayOutputStream(); localErr = new ByteArrayOutputStream(); System.setOut(new PrintStream( localOut ) ); System.setErr(new PrintStream( localErr ) ); }

private String getCapture() { return localOut.toString().replaceAll("\ ?\ ", " "); }

private void unsetCapture() { System.setOut( null ); System.setOut( sOut ); System.setErr( null ); System.setErr( sErr ); }

@Test public void restaurantmenu_printmenu_0() { RestaurantMenu menu = new RestaurantMenu(25); buildMenu(menu); setCapture(); menu.printMenu(); String actual = getCapture(); unsetCapture(); String expect = "Appetizers " + test_full[0] + " " + test_full[1] + " " + test_full[2] + " " + "Soups " + test_full[3] + " " + test_full[4] + " " + test_full[5] + " " + "Salads " + test_full[6] + " " + test_full[7] + " " + test_full[8] + " " + "Burgers & Sandwiches " + test_full[9] + " " + test_full[10] + " " + test_full[11] + " " + "Entrees " + test_full[12] + " " + test_full[13] + " " + test_full[14] + " " + "Deserts " + test_full[15] + " " + test_full[16] + " " + test_full[17] + " " + "Beverages " + test_full[18] + " " + test_full[19] + " " + test_full[20] + " "; assertEquals(expect, actual); }

@Test public void restaurantmenu_printmenu_1() { RestaurantMenu menu = new RestaurantMenu(25); buildMenu(menu); setCapture(); menu.printMenu(new int[]{6,5}); String actual = getCapture(); unsetCapture(); String expect = "Beverages " + test_full[18] + " " + test_full[19] + " " + test_full[20] + " " + "Deserts " + test_full[15] + " " + test_full[16] + " " + test_full[17] + " " ; assertEquals(expect, actual); }

private void setAvail(AdjustableMenuDish dish, boolean avail) { for (int i = 0; i < 7; i++) { dish.setDay(i); dish.setAvailability(avail); } }

@Test public void restaurantmenu_count_unavailable() { RestaurantMenu menu = new RestaurantMenu(); for (int i = 0; i < 10; i++) { AdjustableMenuDish dish = new AdjustableMenuDish("test" + i); dish.setCategory(1).setDescription("test"); setAvail( dish, (i%2 == 0) ); menu.add( dish ); } int c = menu.getNumCategory(1); assertEquals( 5, c ); }

@Test public void restaurantmenu_check_hide_unavailable() { RestaurantMenu menu = new RestaurantMenu(); for (int i = 0; i < 10; i++) { AdjustableMenuDish dish = new AdjustableMenuDish("test" + i); dish.setCategory(1).setDescription("test"); setAvail( dish, (i%2 == 0) ); menu.add( dish ); } menu.setDay(0);

setCapture(); menu.printMenu(); String actual = getCapture(); unsetCapture(); String expect = "Soups test0 ($0.00) test test2 ($0.00) test test4 ($0.00) test test6 ($0.00) test test8 ($0.00) test "; assertEquals(expect, actual); }

@Test public void resizeable_constructors_exist() { ResizeableMenu menu = new ResizeableMenu(); }

@Test public void resizeable_inherits() { ResizeableMenu menu = new ResizeableMenu(); String err = "ResizeableMenu not an instance of RestaurantDish"; assertTrue( err, (menu instanceof RestaurantMenu) ); }

@Test public void resizable_sizings_check() { ResizeableMenu menu = new ResizeableMenu(); for (int i = 0; i < 45; i++) { MenuDish dish = new MenuDish("test" + i,0.0,1); menu.add(dish); assertEquals( (i+1), menu.getNumCategory(1) ); } } }

Tester results:

8 tests failed: P2tester Failed test 1: restaurantmenu_check_hide_unavailable Failed test 2: adjmenudish_daily_avail Failed test 3: menudish_tostring Failed test 4: adjmenudish_daily_prices Failed test 5: resizable_sizings_check Failed test 6: restaurantmenu_printmenu_0 Failed test 7: restaurantmenu_printmenu_1 Failed test 8: restaurantmenu_count_unavailable

[line: 246] Failure: java.lang.AssertionError: expected: Chicken wings** ($8.00) Baked Buffalo chicken glazed with spicy sauce actual: Chicken wings**($8.00) Baked Buffalo chicken glazed with spicy sauce

[line: 276] Failure: java.lang.AssertionError: expected:<1.0> but was:<7.0>

[line: 286] Failure: java.lang.AssertionError: Availability does not match on day 1 [line: 403] Failure: org.junit.ComparisonFailure: expected:<...s

Chicken wings**[ ($8.00) Baked Buffalo chicken glazed with spicy sauce Shrimp ($8.00) Chilled and shelled, served with seafood sauce Broiled spiced platypus eggs*** ($15.00) A spicy delicacy from down under

Soups

Miso soup+ ($4.21) Hot miso mixed with tofu and wakame Chicken noodle ($4.12) Tastes like home Avacado pumpkin puree+ ($4.01) Better than it sounds!

Salads

Chicken caesar salad ($6.00) Romain lettuce, grilled chicken and croutons, topped with Caesar sauce Garden salad+ ($6.00) Garden-grown fresh, lettuce, spinach and tomatoes Kelp & octopus tentacle salad+ ($192.21) A tasty salad featuring some of the mysteries of the sea

Burgers & Sandwiches

Mushroom burger ($8.00) Savory 1/4lb angus burger topped with portabella and melted provalone Veggie burger+ ($8.50) Vegetable patty topped with lettuce, tomatoes, onions and pickles Overclocked-CPU grilled burger* ($9.95) We use only the hottest-running CPUs to bring you a truly well-done burger

Entrees

Fetuccini alfredo ($16.70) Fettucini noodles cooked with the chef's special cheese sauce Broiled salmon ($20.50) Live caught from underwater Martian water reserves Turducken ($22.00) A traditional feast consisting of a deboned turkey stuffed with a duck stuffed with a chicken

Deserts

Ice cream ($6.50) Chilled in real Antarctic ice, comes in an assortment of flavors Tiramisu ($7.50) A rich layered desert made of creamy custard and expresso-soaked ladyfingers Bowl of sugar ($0.99) A huge bowl of leftover Halloween candy

Beverages

Wine ($19.99) 1636 vintage Iced tea ($2.50) Sweetened or unsweetened Miruvor+*** ($29292.92) An elven liquor with magical healing powers ] > but was:<...s

Chicken wings**[($8.00) Baked Buffalo chicken glazed with spicy sauce Shrimp($8.00) Chilled and shelled, served with seafood sauce Broiled spiced platypus eggs***($15.00) A spicy delicacy from down under Soups

Miso soup+($4.21) Hot miso mixed with tofu and wakame Chicken noodle($4.12) Tastes like home Avacado pumpkin puree+($4.01) Better than it sounds! Salads

Chicken caesar salad($6.00) Romain lettuce, grilled chicken and croutons, topped with Caesar sauce Garden salad+($6.00) Garden-grown fresh, lettuce, spinach and tomatoes Kelp & octopus tentacle salad+($192.21) A tasty salad featuring some of the mysteries of the sea Burgers & Sandwiches

Mushroom burger($8.00) Savory 1/4lb angus burger topped with portabella and melted provalone Veggie burger+($8.50) Vegetable patty topped with lettuce, tomatoes, onions and pickles Overclocked-CPU grilled burger*($9.95) We use only the hottest-running CPUs to bring you a truly well-done burger Entrees

Fetuccini alfredo($16.70) Fettucini noodles cooked with the chef's special cheese sauce Broiled salmon($20.50) Live caught from underwater Martian water reserves Turducken($22.00) A traditional feast consisting of a deboned turkey stuffed with a duck stuffed with a chicken Deserts

Ice cream($6.50) Chilled in real Antarctic ice, comes in an assortment of flavors Tiramisu($7.50) A rich layered desert made of creamy custard and expresso-soaked ladyfingers Bowl of sugar($0.99) A huge bowl of leftover Halloween candy Beverages

Wine($19.99) 1636 vintage Iced tea($2.50) Sweetened or unsweetened Miruvor+***($29292.92) An elven liquor with magical healing powers] > [line: 418] Failure: org.junit.ComparisonFailure: expected:

Wine[ ($19.99) 1636 vintage Iced tea ($2.50) Sweetened or unsweetened Miruvor+*** ($29292.92) An elven liquor with magical healing powers

Deserts

Ice cream ($6.50) Chilled in real Antarctic ice, comes in an assortment of flavors Tiramisu ($7.50) A rich layered desert made of creamy custard and expresso-soaked ladyfingers Bowl of sugar ($0.99) A huge bowl of leftover Halloween candy ] > but was:

Wine[($19.99) 1636 vintage Iced tea($2.50) Sweetened or unsweetened Miruvor+***($29292.92) An elven liquor with magical healing powers Deserts

Ice cream($6.50) Chilled in real Antarctic ice, comes in an assortment of flavors Tiramisu($7.50) A rich layered desert made of creamy custard and expresso-soaked ladyfingers Bowl of sugar($0.99) A huge bowl of leftover Halloween candy] > [line: 437] Failure: java.lang.AssertionError: expected:<5> but was:<10> [line: 456] Failure: org.junit.ComparisonFailure: expected:

test0[ ($0.00) test test2 ($0.00) test test4 ($0.00) test test6 ($0.00) test test8 ($0.00) test ] > but was:

test0[($0.00) test test1($0.00) test test2($0.00) test test3($0.00) test test4($0.00) test test5($0.00) test test6($0.00) test test7($0.00) test test8($0.00) test test9($0.00) test] > [line: 474] Failure: java.lang.AssertionError: expected:<11> but was:<10>

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions