Aufgaben-Python/courses/csharp/15_xunit_automatisiertes_unit_testing/Musterloesung.cs

4 lines
No EOL
133 B
C#

public class Rechner {
public static int Addiere(int a, int b) => a + b;
public static bool IstGerade(int n) => n % 2 == 0;
}