Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20 Testfall: {-1,1-}(diffFolge:: (Integer,Integer) -> [Integer]) (1,1) == [1,0]; Testfall OK Testfall: {-1,2-}take 5[(m,n)|m<-[1..50],n<-[1..50],(last.diffFolge)(m,n) > 0] == []; Testfall OK Testfall: {-1,3-}take 5[(m,n)|m<-[1..50],n<-[1..50],(head.diffFolge)(m,n) /= m] == []; Testfall OK Testfall: {-1,4-}diffFolge (2433243,2343432) == [2433243,89811,-2253621]; Testfall OK Testfaelle OK: 4; Testfaelle FALSCH: 0 Punkte : 20 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20 Testfall: {-2,1-}(teilt :: (Integer,Integer) -> Bool) (1,1) == True; Testfall OK Testfall: {-2,2-}take 5[(m,n)|m<-[1..9],n<-[1..9],teilt(m,n)/=(m`mod`n < 1)] == []; Testfall OK Testfall: {-2,3-}take 5[(m,n)|m<-[1..99],n<-[1..99],teilt(m,n)/=(m`mod`n < 1)] == []; Testfall OK Testfall: {-2,4-}take 5[(m,n)|m<-[23436..23440],n<-[3..7],teilt(m,n)/=(m`mod`n < 1)] == []; Testfall OK Testfaelle OK: 4; Testfaelle FALSCH: 0 Punkte : 20 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20 Testfall: {-3,1-}(zahlenBlock :: Integer -> [Integer]) 24889375 == [375,889,24]; Testfall OK Testfall: {-3,2-} zahlenBlock 2488937 == [937,488,2]; Testfall OK Testfall: {-3,3-} concat[zahlenBlock i|i<-[2..999]] == [2..999]; Testfall OK Testfall: {-3,4-} take 3[zahlenBlock i|i<-[23433..]] == [[433,23],[434,23],[435,23]]; Testfall OK Testfaelle OK: 4; Testfaelle FALSCH: 0 Punkte : 20 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20 Testfall: {-4,1-}(zeichenreihenBlock :: Integer -> [String]) 24889375 == ["375","889","024"]; Testfall OK Testfall: {-4,2-} zeichenreihenBlock 2488937 == ["937","488","002"]; Testfall OK Testfall: {-4,3-} zeichenreihenBlock (7^7^2) == ["607","321","621","235","224","477","611","088","878","058","521","577","923","256"]; Testfall OK Testfall: {-4,4-} take 3[zeichenreihenBlock i|i<-[23433..]] == [["433","023"],["434","023"],["435","023"]]; Testfall OK Testfaelle OK: 4; Testfaelle FALSCH: 0 Punkte : 20 Punkte pro Testfall: 5; Abzug pro fehlerhaften Testfall: 0; Maximum: 20 Testfall: {-5,1-}(siebenTeilbar :: Integer -> Bool) 7 == True; Testfall OK Testfall: {-5,2-}take 5[i|i<- [1..99],(siebenTeilbar :: Integer -> Bool)i /= (i`mod`7 < 1)] == []; Testfall OK Testfall: {-5,3-}(as :: [Integer] -> Integer )[375,889,24] == -490; Testfall OK Testfall: {-5,4-}(as.zahlenBlock) (7^7^2) == 2373; Testfall OK Testfall: {-5,4-}(as.zahlenBlock) (7^7^3) == -2737; Testfall OK Testfaelle OK: 5; Testfaelle FALSCH: 0 Punkte : 20 Punkte gesamt: 100