From f44dee06512179573580c1f1a2c8d2b7762063ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=B6rner?= <3012330@stud.hs-mannheim.de> Date: Tue, 9 Jan 2024 00:38:25 +0100 Subject: [PATCH] Klasse die getestet wird auf public gestellt --- Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java index 511d338..a458548 100644 --- a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java +++ b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java @@ -397,7 +397,7 @@ public class Spreadsheet { * @param formula The expression to be evaluated. * @return The result calculated. */ - private long calculate(String formula) throws ArithmeticException { + public long calculate(String formula) throws ArithmeticException { Matcher m = Pattern.compile("([A-Z][0-9]*)|[-\\+\\*/]|[0-9]*").matcher(formula); long res = 0;