Punkte pro Testfall: 3; Abzug pro fehlerhaften Testfall: 0; Maximum: 10 Testfall: {-1a,1-}(BLeaf 1 "a") ; Testfall FALSCH Erwartet: {-1a,1-}(BLeaf 1 "a") == (BLeaf 2 "a") Ausgabe: {-1a,1-}(BLeaf 1 "a") ERROR "Aufgabe6.lhs/fp110.lhs":2 - Empty script - perhaps you forgot the `>'s? ==ERROR - Undefined data constructor "BLeaf" Testfall: {-1a,2-}( (BLeaf 1 "a") /= (BLeaf 1 "ab") ) ; Testfall FALSCH Erwartet: {-1a,2-}( (BLeaf 1 "a") /= (BLeaf 1 "ab") ) == True 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" Testfall: {-1a,3-}( (BLeaf 1 "a") /= (BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) ) ; Testfall FALSCH Erwartet: {-1a,3-}( (BLeaf 1 "a") /= (BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) ) == True 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" Testfall: {-1a,4-}(BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) ; Testfall FALSCH Erwartet: {-1a,4-}(BNode 3 "a" (BLeaf 1 "a") (BLeaf 2 "ab")) == (BNode 4 "a" (BLeaf 5 "a") (BLeaf 6 "ab")) 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" 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 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"))] == [] 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" Testfaelle OK: 0; Testfaelle FALSCH: 5 Punkte : 0 Punkte pro Testfall: 3; Abzug pro fehlerhaften Testfall: 0; Maximum: 10 Testfall: {-1b,1-}(LNode 0 2 [] ; Testfall FALSCH Erwartet: {-1b,1-}(LNode 0 2 [] == LNode 3 2 []) 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) Testfall: {-1b,2-}(LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]]) ; Testfall FALSCH Erwartet: {-1b,2-}(LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]]) == (LNode 11 1 [(LNode (x+5) x) [] | x <- [1..10]]) 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" 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 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 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" 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 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]]) 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" Testfaelle OK: 0; Testfaelle FALSCH: 4 Punkte : 0 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20 Testfall: (noOfSources (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ; Testfall FALSCH Erwartet: (noOfSources (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) == 1 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" Testfall: (noOfSinks (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ; Testfall FALSCH Erwartet: (noOfSinks (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) == 2 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" Testfall: (notSourceConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ; Testfall FALSCH Erwartet: (notSourceConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) == [] 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" Testfall: (notSinkConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) ; Testfall FALSCH Erwartet: (notSinkConnected (BNode 1 "a" (BLeaf 2 "b") (BLeaf 3 "c"))) == [] 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" Testfaelle OK: 0; Testfaelle FALSCH: 4 Punkte : 0 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20 Testfall: (noOfSources (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ; Testfall FALSCH Erwartet: (noOfSources (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) == 1 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" Testfall: (noOfSinks (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ; Testfall FALSCH Erwartet: (noOfSinks (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) == 2 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" Testfall: (notSourceConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ; Testfall FALSCH Erwartet: (notSourceConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) == [] 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" Testfall: (notSinkConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) ; Testfall FALSCH Erwartet: (notSinkConnected (LNode 1 "a" [LNode 2 "b" [],LNode 3 "c" []])) == [] 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" Testfaelle OK: 0; Testfaelle FALSCH: 4 Punkte : 0 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20 Testfall: (noOfSources (ALg [(1,[2]),(2,[1]),(3,[2])])) ; Testfall FALSCH Erwartet: (noOfSources (ALg [(1,[2]),(2,[1]),(3,[2])])) == 1 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" Testfall: (noOfSinks (ALg [(1,[2]),(2,[1]),(3,[2])])) ; Testfall FALSCH Erwartet: (noOfSinks (ALg [(1,[2]),(2,[1]),(3,[2])])) == 0 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" Testfall: (notSourceConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) ; Testfall FALSCH Erwartet: (notSourceConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) == [] 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" Testfall: (notSinkConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) ; Testfall FALSCH Erwartet: (notSinkConnected (ALg [(1,[2]),(2,[1]),(3,[2])])) == [1,2,3] 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" Testfaelle OK: 0; Testfaelle FALSCH: 4 Punkte : 0 Punkte pro Testfall: 4; Abzug pro fehlerhaften Testfall: 0; Maximum: 20 Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebab" ) ; Testfall FALSCH Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebab" ) == True 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" Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeecbab" ) ; Testfall FALSCH Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeecbab" ) == False 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" Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebaba" ) ; Testfall FALSCH Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebaba" ) == False 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" Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebcab" ) ; Testfall FALSCH Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "abbbacccdededeebcab" ) == False 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" Testfall: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "" ) ; Testfall FALSCH Erwartet: ( accept (AMg [(["de","a","c","b"]),(["de","a","c","b"]),(["de","a","c",""]),(["de","a","","b"])]) 0 [0,2,3] "" ) == True 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" Testfaelle OK: 0; Testfaelle FALSCH: 5 Punkte : 0 Punkte gesamt: 0