]> git.somenet.org - pub/jan/funcprog.git/blob - Aufgabe10.hs_1.out
GITOLITE.txt
[pub/jan/funcprog.git] / Aufgabe10.hs_1.out
1 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 15 
2
3 Testfall: {-1,1-}indQ []  ; Testfall FALSCH 
4 Erwartet: {-1,1-}indQ [] == True 
5 Ausgabe:  {-1,1-}indQ [] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "indQ"   
6 Testfall: {-1,2-}indQ [1]  ; Testfall FALSCH 
7 Erwartet: {-1,2-}indQ [1] == True 
8 Ausgabe:  {-1,2-}indQ [1] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "indQ"   
9 Testfall: {-1,3-}divAndConquer indQ solveQ divideQ combineQ [3,1,9,4,6]  ; Testfall FALSCH 
10 Erwartet: {-1,3-}divAndConquer indQ solveQ divideQ combineQ [3,1,9,4,6] == [1,3,4,6,9] 
11 Ausgabe:  {-1,3-}divAndConquer indQ solveQ divideQ combineQ [3,1,9,4,6] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "combineQ"   
12 Testfall: {-1,3'-}quicksort [3,1,9,4,6]  ; Testfall FALSCH 
13 Erwartet: {-1,3'-}quicksort [3,1,9,4,6] == [1,3,4,6,9] 
14 Ausgabe:  {-1,3'-}quicksort [3,1,9,4,6] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "quicksort"   
15
16 Testfaelle OK: 0; Testfaelle FALSCH: 4
17 Punkte : 0
18
19 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 30 
20
21 Testfall: {-2a,1-}isValid [[0,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]]  ; Testfall FALSCH 
22 Erwartet: {-2a,1-}isValid [[0,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] == True 
23 Ausgabe:  {-2a,1-}isValid [[0,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "isValid"   
24 Testfall: {-2a,2-}isValid [[1,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]]  ; Testfall FALSCH 
25 Erwartet: {-2a,2-}isValid [[1,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] == True 
26 Ausgabe:  {-2a,2-}isValid [[1,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "isValid"   
27 Testfall: {-2a,3-}isValid [[0,6,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]]  ; Testfall FALSCH 
28 Erwartet: {-2a,3-}isValid [[0,6,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] == False 
29 Ausgabe:  {-2a,3-}isValid [[0,6,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "isValid"   
30 Testfall: {-2a,4-}isValid [[0,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,20,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]]  ; Testfall FALSCH 
31 Erwartet: {-2a,4-}isValid [[0,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,20,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] == False 
32 Ausgabe:  {-2a,4-}isValid [[0,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,40,50,10,2],[3,30,40,50,20,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "isValid"   
33 Testfall: {-2a,5-}isValid [[0,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]]  ; Testfall FALSCH 
34 Erwartet: {-2a,5-}isValid [[0,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] == False 
35 Ausgabe:  {-2a,5-}isValid [[0,5,4,3,2,1,0],[5,10,20,30,40,50,1],[4,20,30,50,10,2],[3,30,40,50,10,20,2],[2,40,50,10,20,30,2],[1,50,10,20,30,40,2],[0,1,2,2,2,2,0]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "isValid"   
36 Testfall: {-2a,6-}isValid []  ; Testfall FALSCH 
37 Erwartet: {-2a,6-}isValid [] == False 
38 Ausgabe:  {-2a,6-}isValid [] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "isValid"   
39
40 Testfaelle OK: 0; Testfaelle FALSCH: 6
41 Punkte : 0
42
43 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 5 
44
45 Testfall: {-2b,1-}[s|s<-[[[10,20,30,40,50],[20,30,40,50,10],[30,40,50,10,20],[40,50,10,20,30],[50,10,20,30,40]]],length(compVisibility s)<1]  ; Testfall FALSCH 
46 Erwartet: {-2b,1-}[s|s<-[[[10,20,30,40,50],[20,30,40,50,10],[30,40,50,10,20],[40,50,10,20,30],[50,10,20,30,40]]],length(compVisibility s)<1] == [] 
47 Ausgabe:  {-2b,1-}[s|s<-[[[10,20,30,40,50],[20,30,40,50,10],[30,40,50,10,20],[40,50,10,20,30],[50,10,20,30,40]]],length(compVisibility s)<1] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "compVisibility"   
48
49 Testfaelle OK: 0; Testfaelle FALSCH: 1
50 Punkte : 0
51
52 Punkte pro Testfall: 10; Abzug pro fehlerhaften Testfall: 0; Maximum: 50 
53
54 Testfall: {-2c,1-}buildSkyscrapers [[0,2,2,0],[2,0,0,1],[1,0,0,2],[0,1,2,0]]  ; Testfall FALSCH 
55 Erwartet: {-2c,1-}buildSkyscrapers [[0,2,2,0],[2,0,0,1],[1,0,0,2],[0,1,2,0]] == Nothing 
56 Ausgabe:  {-2c,1-}buildSkyscrapers [[0,2,2,0],[2,0,0,1],[1,0,0,2],[0,1,2,0]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "buildSkyscrapers"   
57 Testfall: {-2c,2-}buildSkyscrapers [[0,6,4,3,2,1,0],[5,0,0,0,0,0,1],[4,0,0,0,0,0,2],[3,0,0,0,0,0,2],[2,0,0,0,0,0,2],[1,0,0,0,0,0,2],[0,1,2,2,2,2,0]]  ; Testfall FALSCH 
58 Erwartet: {-2c,2-}buildSkyscrapers [[0,6,4,3,2,1,0],[5,0,0,0,0,0,1],[4,0,0,0,0,0,2],[3,0,0,0,0,0,2],[2,0,0,0,0,0,2],[1,0,0,0,0,0,2],[0,1,2,2,2,2,0]] == Nothing 
59 Ausgabe:  {-2c,2-}buildSkyscrapers [[0,6,4,3,2,1,0],[5,0,0,0,0,0,1],[4,0,0,0,0,0,2],[3,0,0,0,0,0,2],[2,0,0,0,0,0,2],[1,0,0,0,0,0,2],[0,1,2,2,2,2,0]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "buildSkyscrapers"   
60 Testfall: {-2c,3-}buildSkyscrapers [[0,5,4,3,2,1,0],[5,0,0,0,0,0,1],[4,0,0,0,0,0,2],[3,0,0,0,0,0,2],[2,0,0,0,0,0,2],[1,0,0,0,0,0,2],[0,1,2,2,2,1,0]]  ; Testfall FALSCH 
61 Erwartet: {-2c,3-}buildSkyscrapers [[0,5,4,3,2,1,0],[5,0,0,0,0,0,1],[4,0,0,0,0,0,2],[3,0,0,0,0,0,2],[2,0,0,0,0,0,2],[1,0,0,0,0,0,2],[0,1,2,2,2,1,0]] == Nothing 
62 Ausgabe:  {-2c,3-}buildSkyscrapers [[0,5,4,3,2,1,0],[5,0,0,0,0,0,1],[4,0,0,0,0,0,2],[3,0,0,0,0,0,2],[2,0,0,0,0,0,2],[1,0,0,0,0,0,2],[0,1,2,2,2,1,0]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "buildSkyscrapers"   
63 Testfall: {-2c,4-}buildSkyscrapers [[0,2,1,0],[2,0,0,1],[1,0,0,2],[0,1,2,0]]  ; Testfall FALSCH 
64 Erwartet: {-2c,4-}buildSkyscrapers [[0,2,1,0],[2,0,0,1],[1,0,0,2],[0,1,2,0]] == Just [[0,2,1,0],[2,10,20,1],[1,20,10,2],[0,1,2,0]] 
65 Ausgabe:  {-2c,4-}buildSkyscrapers [[0,2,1,0],[2,0,0,1],[1,0,0,2],[0,1,2,0]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "buildSkyscrapers"   
66 Testfall: {-2c,5-}[1|Nothing<-[buildSkyscrapers [[0,2,1,0],[2,0,0,1],[1,0,0,2],[0,1,2,0]]]]  ; Testfall FALSCH 
67 Erwartet: {-2c,5-}[1|Nothing<-[buildSkyscrapers [[0,2,1,0],[2,0,0,1],[1,0,0,2],[0,1,2,0]]]] == [] 
68 Ausgabe:  {-2c,5-}[1|Nothing<-[buildSkyscrapers [[0,2,1,0],[2,0,0,1],[1,0,0,2],[0,1,2,0]]]] ERROR "Aufgabe10.hs/fp110.hs":1 - Syntax error in declaration (unexpected symbol "Aufgabe10.hs") ==ERROR - Undefined variable "buildSkyscrapers"   
69
70 Testfaelle OK: 0; Testfaelle FALSCH: 5
71 Punkte : 0
72
73 Punkte gesamt: 0
74