From 34b3773c39b7781a59f6ad0a45b393c0931b6b75 Mon Sep 17 00:00:00 2001 From: Steffen Krueger Date: Mon, 24 Jun 2024 14:45:10 +0200 Subject: [PATCH] TDD mode on - Added tesing functionality to existing test TDD mode off --- SWT-TestedProject/Calculator.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SWT-TestedProject/Calculator.cs b/SWT-TestedProject/Calculator.cs index 9e189c7..4eff7b3 100644 --- a/SWT-TestedProject/Calculator.cs +++ b/SWT-TestedProject/Calculator.cs @@ -38,5 +38,7 @@ public int RemainingDiv(int a, int b) { return a % b; } + + public string AddEurToCalculation(Func func, int a, int b) => $"{func(a,b)}€"; } }