From 3721182712daeaed0e1850fc6404431694566d8a Mon Sep 17 00:00:00 2001 From: vogl Date: Mon, 5 Jan 2026 14:34:48 +0100 Subject: [PATCH] gouda fix --- WS2526/Testat 2a/Main.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/WS2526/Testat 2a/Main.java b/WS2526/Testat 2a/Main.java index ed3e8be..16fa3ac 100644 --- a/WS2526/Testat 2a/Main.java +++ b/WS2526/Testat 2a/Main.java @@ -53,11 +53,6 @@ public class Main { } else { System.out.println("Success: The vanilla yoghurt is too heavy."); } - if (fridge.containsItem(gouda)) { - System.out.println("Failure: The gouda should not be added."); - } else { - System.out.println("Success: The fridge does not contain the gouda."); - } // Aufgabe 1 - indexOf System.out.println("Testing: Fridge.indexOf()");