1 Punkte pro Testfall: 3; Abzug pro fehlerhaften Testfall: 0; Maximum: 10
3 Testfall: {-1a,1-}(BLeaf 1 "a") ; Testfall FALSCH
4 Erwartet: {-1a,1-}(BLeaf 1 "a") == (BLeaf 2 "a")
5 Ausgabe: {-1a,1-}(BLeaf 1 "a") ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf"
6 Testfall: {-1a,2-}( (BLeaf 1 "a") /= (BLeaf 1 "ab") ) ; Testfall FALSCH
7 Erwartet: {-1a,2-}( (BLeaf 1 "a") /= (BLeaf 1 "ab") ) == True
8 Ausgabe: {-1a,2-}( (BLeaf 1 "a") /= (BLeaf 1 "ab") ) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf"
9 Testfall: {-1a,3-}( (BLeaf 1 "a") /= (BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) ) ; Testfall FALSCH
10 Erwartet: {-1a,3-}( (BLeaf 1 "a") /= (BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) ) == True
11 Ausgabe: {-1a,3-}( (BLeaf 1 "a") /= (BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) ) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf"
12 Testfall: {-1a,4-}(BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) ; Testfall FALSCH
13 Erwartet: {-1a,4-}(BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) == (BNode 4 "a" (BLeaf 5 "a") (BLeaf 6 "ab"))
14 Ausgabe: {-1a,4-}(BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf"
15 Testfall: {-1a,5-}[i|i<-[0..5],(BNode i "a" (BLeaf (i+1) "a") (BLeaf (i+2) "ab")) /= (BNode (i+3) "a" (BLeaf (i+4) "a") (BLeaf (i+6) "ab"))] ; Testfall FALSCH
16 Erwartet: {-1a,5-}[i|i<-[0..5],(BNode i "a" (BLeaf (i+1) "a") (BLeaf (i+2) "ab")) /= (BNode (i+3) "a" (BLeaf (i+4) "a") (BLeaf (i+6) "ab"))] == []
17 Ausgabe: {-1a,5-}[i|i<-[0..5],(BNode i "a" (BLeaf (i+1) "a") (BLeaf (i+2) "ab")) /= (BNode (i+3) "a" (BLeaf (i+4) "a") (BLeaf (i+6) "ab"))] ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf"
19 Testfaelle OK: 0; Testfaelle FALSCH: 5
22 Punkte pro Testfall: 3; Abzug pro fehlerhaften Testfall: 0; Maximum: 10
24 Testfall: {-1b,1-}(LNode 0 2 [] ; Testfall FALSCH
25 Erwartet: {-1b,1-}(LNode 0 2 [] == LNode 3 2 [])
26 Ausgabe: {-1b,1-}(LNode 0 2 [] ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Syntax error in expression (unexpected end of input)
27 Testfall: {-1b,2-}(LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]]) ; Testfall FALSCH
28 Erwartet: {-1b,2-}(LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]]) == (LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]])
29 Ausgabe: {-1b,2-}(LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]]) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "LNode"
30 Testfall: {-1b,3-}( (LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]]) /= (LNode 11 1 [(LNode (x+33) x [(LNode ((100*x)+y-30) (y+2) []) | y <- [0..x]] ) | x <- [1..10]]) ) ; Testfall FALSCH
31 Erwartet: {-1b,3-}( (LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]]) /= (LNode 11 1 [(LNode (x+33) x [(LNode ((100*x)+y-30) (y+2) []) | y <- [0..x]] ) | x <- [1..10]]) ) == True
32 Ausgabe: {-1b,3-}( (LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]]) /= (LNode 11 1 [(LNode (x+33) x [(LNode ((100*x)+y-30) (y+2) []) | y <- [0..x]] ) | x <- [1..10]]) ) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "LNode"
33 Testfall: {-1b,4-}(LNode 11 1 [(LNode (x+33) x [(LNode ((100*x)+y-30) (y+2) []) | y <- [0..x]] ) | x <- [1..10]]) ; Testfall FALSCH
34 Erwartet: {-1b,4-}(LNode 11 1 [(LNode (x+33) x [(LNode ((100*x)+y-30) (y+2) []) | y <- [0..x]] ) | x <- [1..10]]) == (LNode 11 1 [(LNode (x+5) x [(LNode ((100*x)+y+10) (y+2) []) | y <- [0..x]] ) | x <- [1..10]])
35 Ausgabe: {-1b,4-}(LNode 11 1 [(LNode (x+33) x [(LNode ((100*x)+y-30) (y+2) []) | y <- [0..x]] ) | x <- [1..10]]) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "LNode"
37 Testfaelle OK: 0; Testfaelle FALSCH: 4
40 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20
42 Testfall: (noOfSources (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ; Testfall FALSCH
43 Erwartet: (noOfSources (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) == 1
44 Ausgabe: (noOfSources (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf"
45 Testfall: (noOfSinks (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ; Testfall FALSCH
46 Erwartet: (noOfSinks (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) == 2
47 Ausgabe: (noOfSinks (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf"
48 Testfall: (notSourceConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ; Testfall FALSCH
49 Erwartet: (notSourceConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) == []
50 Ausgabe: (notSourceConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf"
51 Testfall: (notSinkConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ; Testfall FALSCH
52 Erwartet: (notSinkConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) == []
53 Ausgabe: (notSinkConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf"
55 Testfaelle OK: 0; Testfaelle FALSCH: 4
58 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20
60 Testfall: (noOfSources (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ; Testfall FALSCH
61 Erwartet: (noOfSources (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) == 1
62 Ausgabe: (noOfSources (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "LNode"
63 Testfall: (noOfSinks (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ; Testfall FALSCH
64 Erwartet: (noOfSinks (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) == 2
65 Ausgabe: (noOfSinks (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "LNode"
66 Testfall: (notSourceConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ; Testfall FALSCH
67 Erwartet: (notSourceConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) == []
68 Ausgabe: (notSourceConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "LNode"
69 Testfall: (notSinkConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ; Testfall FALSCH
70 Erwartet: (notSinkConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) == []
71 Ausgabe: (notSinkConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "LNode"
73 Testfaelle OK: 0; Testfaelle FALSCH: 4
76 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20
78 Testfall: (noOfSources (ALg [(1,[2]),(2,[1]),(3,[2])])) ; Testfall FALSCH
79 Erwartet: (noOfSources (ALg [(1,[2]),(2,[1]),(3,[2])])) == 1
80 Ausgabe: (noOfSources (ALg [(1,[2]),(2,[1]),(3,[2])])) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "ALg"
81 Testfall: (noOfSinks (ALg [(1,[2]),(2,[1]),(3,[2])])) ; Testfall FALSCH
82 Erwartet: (noOfSinks (ALg [(1,[2]),(2,[1]),(3,[2])])) == 0
83 Ausgabe: (noOfSinks (ALg [(1,[2]),(2,[1]),(3,[2])])) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "ALg"
84 Testfall: (notSourceConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) ; Testfall FALSCH
85 Erwartet: (notSourceConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) == []
86 Ausgabe: (notSourceConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "ALg"
87 Testfall: (notSinkConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) ; Testfall FALSCH
88 Erwartet: (notSinkConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) == [1,2,3]
89 Ausgabe: (notSinkConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "ALg"
91 Testfaelle OK: 0; Testfaelle FALSCH: 4
94 Punkte pro Testfall: 4; Abzug pro fehlerhaften Testfall: 0; Maximum: 20
96 Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebab" ) ; Testfall FALSCH
97 Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebab" ) == True
98 Ausgabe: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebab" ) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "AMg"
99 Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeecbab" ) ; Testfall FALSCH
100 Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeecbab" ) == False
101 Ausgabe: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeecbab" ) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "AMg"
102 Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebaba" ) ; Testfall FALSCH
103 Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebaba" ) == False
104 Ausgabe: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebaba" ) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "AMg"
105 Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebcab" ) ; Testfall FALSCH
106 Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebcab" ) == False
107 Ausgabe: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebcab" ) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "AMg"
108 Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "" ) ; Testfall FALSCH
109 Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "" ) == True
110 Ausgabe: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "" ) ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "AMg"
112 Testfaelle OK: 0; Testfaelle FALSCH: 5