H07 | Peano Arithmetik
KriteriumMöglichErzieltKommentar
H7.1 | Interfaces definieren[0, 4]0
H7.1.1 | NumberExpression[0, 2]0
1 Das Interface NumberExpression wurde korrekt erstellt.[0, 1]0Could not find Type NumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>
2 Das Interface PeanoNumberExpression wurde korrekt erstellt.[0, 1]0Kind does not match expected kind. {
expected package = h07.peano,
expected kind = INTERFACE,
expected name = PeanoNumberExpression,
expected modifier = ,
package = h07.peano,
kind = CLASS,
name = PeanoNumberExpressionFactory
}
expected <INTERFACE>
actual <CLASS>
H7.1.2 | ArithmeticExpression[0, 2]0
3 Das Interface ArithmeticExpression wurde korrekt erstellt.[0, 1]0Could not find Type ArithmeticExpression. Type is not defined or could not be found.
expected <true>
actual <false>
4 Das Interface PeanoArithmeticExpression wurde korrekt erstellt.[0, 1]0Could not find Type PeanoArithmeticExpression. Type is not defined or could not be found.
expected <true>
actual <false>
5 Alle Klassen und Methoden wurden korrekt benannt.[-1, 0]-1NoClassDefFoundError: Could not initialize class h07.MethodReference @ h07.NumberExpressionTest.testNaming(NumberExpressionTest.java:18)
6 Alle Klassen wurden im korrekten package definiert.[-1, 0]-1Could not find Type NumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>
H7.2 | Multiplikationstabelle[0, 3]0
H7.2.1 | Multiplikationstabelle[0, 3]0
7 Für ArithmeticExpression wurden nur Lambda-Ausdrücke in Standardform und für NumberExpression nur Lambda-Ausdrücke in Kurzform verwendet.[0, 1]0NoSuchElementException: No value present @ java.base/java.util.Optional.get(Optional.java:143)
8 Die Multiplikationstabelle gibt für lowerBound = upperBound die korrekten Werte aus.[0, 1]0Could not find Type NumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>


there are 4 more failing tests
9 Die Multiplikationstabelle gibt für komplexere lowerBound und upperBound Werte die korrekten Werte aus.[0, 1]0Could not find Type NumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>


there are 5 more failing tests
H7.3 | Peano Arithmetik[0, 10]0
H7.3.1 | PeanoAddExpression[0, 5]0
10 Die Klasse PeanoAddExpression wurde korrekt erstellt.[0, 1]0Could not find Type PeanoAddExpression. Type is not defined or could not be found.
expected <true>
actual <false>
11 Die Methode evaluate gibt für X + 0 das korrekte Ergebnis zurück.[0, 1]0Could not initialize class h07.MethodReference

there are 4 more failing tests
12 Die Methode evaluate gibt für 0 + X das korrekte Ergebnis zurück.[0, 1]0Could not initialize class h07.MethodReference

there are 4 more failing tests
13 Die Methode evaluate gibt für X + Y das korrekte Ergebnis zurück.[0, 2]0Could not initialize class h07.MethodReference

there are 7 more failing tests
14 Verbindliche Anforderung nicht erfüllt[-2, 0]-2NoClassDefFoundError: Could not initialize class h07.MethodReference @ h07.PeanoAddExpressionTest.testEvaluateRequirements(PeanoAddExpressionTest.java:87)
H7.3.2 | PeanoMultiplyExpression[0, 5]0
15 Die Klasse PeanoMultiplyExpression wurde korrekt erstellt.[0, 1]0Could not find Type PeanoMultiplyExpression. Type is not defined or could not be found.
expected <true>
actual <false>
16 Die Methode evaluate gibt für X * 0 das korrekte Ergebnis zurück.[0, 1]0Could not initialize class h07.MethodReference

there are 4 more failing tests
17 Die Methode evaluate gibt für 0 * X das korrekte Ergebnis zurück.[0, 1]0Could not initialize class h07.MethodReference

there are 4 more failing tests
18 Die Methode evaluate gibt für X * Y das korrekte Ergebnis zurück.[0, 2]0Could not initialize class h07.MethodReference

there are 7 more failing tests
19 Verbindliche Anforderung nicht erfüllt[-2, 0]-2NoClassDefFoundError: Could not initialize class h07.MethodReference @ h07.PeanoMultiplyExpressionTest.testEvaluateRequirements(PeanoMultiplyExpressionTest.java:87)
20 Alle Klassen und Methoden wurden korrekt benannt.[-1, 0]0
21 Alle Klassen wurden im korrekten package definiert.[-1, 0]-1Could not find Type PeanoAddExpression. Type is not defined or could not be found.
expected <true>
actual <false>
H7.4 | Funktionen höherer Ordnung[0, 15]0
H7.4.1 | Interfaces für Map erstellen[0, 2]0
22 Das Interface ConvertNumberToPeanoExpression wurde korrekt erstellt.[0, 1]0Could not find Type ConvertNumberToPeanoExpression. Type is not defined or could not be found.
expected <true>
actual <false>
23 Das Interface ConvertPeanoToNumberExpression wurde korrekt erstellt.[0, 1]0Could not find Type ConvertPeanoToNumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>
H7.4.2 | Conversions Implementieren[0, 7]0
24 Die Klasse ConvertNumberToPeanoExpressionImpl wurde korrekt erstellt.[0, 1]0Could not find Type ConvertNumberToPeanoExpressionImpl. Type is not defined or could not be found.
expected <true>
actual <false>
25 Die Methode convert von ConvertNumberToPeanoExpressionImpl gibt für 0 das korrekte Ergebnis zurück.[0, 1]0Could not find Type NumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>
26 Die Methode convert von ConvertNumberToPeanoExpressionImpl gibt für X das korrekte Ergebnis zurück.[0, 1]0Could not find Type NumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>


there are 7 more failing tests
27 Die Klasse ConvertPeanoToNumberExpressionImpl wurde korrekt erstellt.[0, 1]0Could not find Type ConvertPeanoToNumberExpressionImpl. Type is not defined or could not be found.
expected <true>
actual <false>
28 Die Methode convert von ConvertPeanoToNumberExpressionImpl gibt für 0 das korrekte Ergebnis zurück.[0, 1]0Could not initialize class h07.MethodReference
29 Die Methode convert von ConvertPeanoToNumberExpressionImpl gibt für X das korrekte Ergebnis zurück.[0, 2]0Could not initialize class h07.MethodReference

there are 7 more failing tests
H7.4.3 | Von Zahlen zu Peano-Zahlen[0, 1]0
30 Die Methode fromNumberExpressions in PeanoNumberExpressionFactory wandelt einen Array von NumberExpressions korrekt um.[0, 1]0Could not find Type NumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>


there are 4 more failing tests
H7.4.4 | Filter[0, 3]0
31 Filter gibt für ein leeres Array ein leeres Array zurück.[0, 1]0Could not find method NumberExpressionFactory.filter()
32 Filter gibt für ein Predicate, das immer true ist, das gesamte Array zurück und für ein Predicate, das immer false ist, ein leeres Array.[0, 1]0Could not find Type NumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>


there are 3 more failing tests
33 Filter gibt für ein Predicate, welches nur durch vier teilbare Zahlen akzeptiert, nur die durch drei teilbaren Zahlen zurück.[0, 1]0Could not find Type NumberExpression. Type is not defined or could not be found.
expected <true>
actual <false>


there are 6 more failing tests
H7.4.5 | Fold[0, 2]0
34 Fold gibt für ein leeres Array das Initial zurück.[0, 1]0Could not initialize class h07.MethodReference

there are 2 more failing tests
35 Fold gibt für ein Array mit mehreren Elementen das korrekte Ergebnis zurück.[0, 1]0java.lang.NoClassDefFoundError: Could not initialize class h07.MethodReference

there are 3 more failing tests
36 Alle Klassen und Methoden wurden korrekt benannt.[-1, 0]-1NoClassDefFoundError: Could not initialize class h07.MethodReference @ h07.ConvertNumberToPeanoExpressionTest.testNaming(ConvertNumberToPeanoExpressionTest.java:18)
37 Alle Klassen wurden im korrekten package definiert.[-1, 0]-1Could not find Type ConvertNumberToPeanoExpression. Type is not defined or could not be found.
expected <true>
actual <false>
Gesamt[0, 32]0