~ubuntu-branches/ubuntu/vivid/haskell-mueval/vivid

« back to all changes in this revision

Viewing changes to tests.sh

  • Committer: Package Import Robot
  • Author(s): Joachim Breitner
  • Date: 2013-08-17 21:45:32 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130817214532-txd18oumupwe9qnt
Tags: 0.9.1-1
* New upstream release (Closes: #719674)
* Fix description of mueval package (Closes: #719325 )

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
m 'foldr (\x y -> concat ["(f ",x," ",y,")"]) "z" (map show [1..5])'
38
38
## Test 1024-char limit
39
39
m 'repeat 1'
40
 
## Let's see whether the ShowQ instances for QuickCheck work
41
 
m 'myquickcheck (1+1 == 2)' -E
42
 
m 'myquickcheck (\x -> x == x)' -E
43
 
m 'myquickcheck (\x -> (x :: String) == x)' -E
44
 
## Test SmallCheck using examples from #haskell
45
 
m 'mysmallcheck True' -E
46
 
m 'mysmallcheck (\x -> x < (10000::Int))' -E
47
 
m 'mysmallcheck (\x -> not x || x)' -E
48
40
## Test Unicode. If this fails, characters got mangled somewhere.
49
41
# m 'let (ñ) = (+) in ñ 5 5'
50
42
## Test default imports & have some function fun