Idris-dev/test
Edwin Brady bde101fbd0 Better inference for case blocks
Now look at the type of the patterns to infer what the argument type of
the new function should be. This helps if, for example, the scrutinee
function has some type which needs to be resolved to a specific type
class instance, and we can't do this from the scrutinee alone.
2015-11-14 19:15:39 +00:00
..
basic001 Remove mysterious files in test/basic001 2015-05-08 18:08:57 +01:00
basic002 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
basic003 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
basic004 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
basic005 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
basic006 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
basic007 Updated changelog 2015-03-06 17:26:33 +00:00
basic008 Categorise tests 2014-01-30 17:24:08 +00:00
basic009 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
basic010 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
basic011 Library rearrangement done. 2015-03-19 18:09:53 +01:00
basic012 Add 'determining parameters' for classes 2015-03-17 23:54:45 +00:00
basic013 String in C is now UTF8 encoded 2015-03-28 17:13:59 +00:00
basic014 Implement a form of pattern unification 2015-09-05 19:55:05 +01:00
basic015 Add new test for matrix transposition 2015-09-22 11:45:17 +01:00
basic016 Make cycle test work with Curses Idris 2015-10-16 01:02:26 +02:00
bignum001 Added a test for bignums 2015-04-10 09:49:28 +02:00
bignum002 added test for divNat optimization 2015-04-18 00:29:55 +03:00
bounded001 Port Haskell's Bounded class 2014-02-21 14:47:24 +01:00
classes001 Changed scoping rules for unbound implicits. 2015-09-21 17:23:33 +01:00
corecords001 Added tests 2015-04-06 12:16:57 +02:00
corecords002 Added tests 2015-04-06 12:16:57 +02:00
delab001 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
disambig002 Fix the broken 'Exact' versions of lookups 2015-05-18 10:33:33 +01:00
docs001 Update REPL :doc related tests with totality status 2015-06-13 16:10:25 +02:00
docs002 Update REPL :doc related tests with totality status 2015-06-13 16:10:25 +02:00
docs003 Update docs test 2015-10-09 15:51:00 +01:00
docs004 Careful when to show namespaces in :doc 2015-07-01 23:34:54 +01:00
dsl001 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
dsl002 File IO type indicates possibility of failure 2015-11-01 01:17:16 +00:00
dsl003 Changed scoping rules for unbound implicits. 2015-09-21 17:23:33 +01:00
dsl004 Better error when no alternative is valid 2015-07-17 23:37:19 +01:00
effects001 Improve pruning of alternatives 2015-09-04 23:52:38 +01:00
effects002 Trying a new Effects api 2015-04-05 17:42:54 +01:00
effects003 Update Eff constructors to remove warnings 2015-10-17 20:22:08 +01:00
effects004 Forgot to commit effects004 2015-04-05 21:31:01 +01:00
effects005 Updates and Fixes 2015-08-27 11:57:00 +01:00
error001 Richer universe error objects 2015-04-28 12:01:41 +02:00
error002 Categorise tests 2014-01-30 17:24:08 +00:00
error003 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
error004 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
error005 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
error006 Fix issue #2666 ("with" patterns accepted outside of "with" block) 2015-10-30 08:38:39 +03:00
ffi001 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
ffi002 Merge pull request #2007 from david-christiansen/library-reorg 2015-03-20 10:17:48 +00:00
ffi003 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
ffi004 File IO type indicates possibility of failure 2015-11-01 01:17:16 +00:00
ffi005 Library rearrangement done. 2015-03-19 18:09:53 +01:00
ffi006 Don't hardcodee 'cc' as the compiler 2015-04-03 01:04:24 +02:00
folding001 Move Fin, Vect and So from prelude to base 2014-12-31 20:18:02 +00:00
idrisdoc001 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
idrisdoc002 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
idrisdoc003 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
idrisdoc004 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
idrisdoc005 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
idrisdoc006 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
idrisdoc007 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
idrisdoc008 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
idrisdoc009 Careful when to show namespaces in :doc 2015-07-01 23:34:54 +01:00
interactive001 Better case split when all patterns are impossible 2015-10-24 13:53:18 +01:00
interactive002 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
interactive003 Proof search should only use user visible names 2015-08-01 21:12:14 +01:00
interactive004 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
interactive005 Test output correction 2015-08-31 20:28:06 +01:00
interactive006 Make --quiet imply non-verbosity 2015-04-01 17:48:17 +02:00
interactive007 Make a mechanism for os-dependent output of tests 2015-04-03 13:45:03 +02:00
interactive008 Add maximum pretty-printer depth option. 2015-06-03 18:44:15 +02:00
interactive009 Move resolveTC to ProofSearch.hs 2015-08-21 17:54:31 +02:00
interactive010 Changed to not affect normal expression parsing 2015-10-06 05:12:15 +00:00
interactive011 Fix regression with making class bodies 2015-11-14 17:46:05 +00:00
io001 File IO type indicates possibility of failure 2015-11-01 01:17:16 +00:00
io002 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
io003 Check messages are passed to active VMs 2015-07-11 23:11:59 +01:00
literate001 set console width / adjust tests by using --consolewidth to make them work with the curses flag 2015-03-19 11:50:39 +00:00
meta001 Update test for improved reflection API 2015-08-16 17:06:23 -07:00
meta002 Add derivation of DecEq to Pruviloj 2015-10-19 01:34:40 +02:00
meta003 Added top-level %runElab support 2015-08-21 15:10:43 -07:00
pkg001 Make the pkg tests take the same display options as the other tests. 2015-10-23 14:20:19 +02:00
pkg002 Make the pkg tests take the same display options as the other tests. 2015-10-23 14:20:19 +02:00
pkg003 test/pkg003: Remove generated executable 2015-10-23 19:46:50 -04:00
pkg004 Update pkg004/expected for more specific error message 2015-10-23 19:46:22 -04:00
primitives001 Changed scoping rules for unbound implicits. 2015-09-21 17:23:33 +01:00
primitives002 Fix primitives002 2015-09-03 21:52:50 +01:00
primitives003 Library rearrangement done. 2015-03-19 18:09:53 +01:00
primitives004-disabled Remove Buffer and BitVector from parser 2015-03-28 17:47:05 +00:00
proof001 Update tests for proof deprecation 2015-09-10 12:01:39 +02:00
proof002 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
proof003 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
proof004 Categorise tests 2014-01-30 17:24:08 +00:00
proof005 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
proof006 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
proof007 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
proof008 Update tests for proof deprecation 2015-09-10 12:01:39 +02:00
proof009 Update tests for proof deprecation 2015-09-10 12:01:39 +02:00
proof010 Remove argument ordering hack in elaborator 2015-05-17 00:46:16 +01:00
proofsearch001 Changed scoping rules for unbound implicits. 2015-09-21 17:23:33 +01:00
proofsearch002 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
proofsearch003 Proof search improvements 2015-09-06 12:48:52 +01:00
pruviloj001 Add andThen and refine to Pruviloj 2015-10-01 18:28:40 +02:00
quasiquote001 Adjust test for changed negative number output 2015-08-25 02:18:25 +02:00
quasiquote002 Move Fin, Vect and So from prelude to base 2014-12-31 20:18:02 +00:00
quasiquote003 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
quasiquote004 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
quasiquote005 Raw quasiquote patterns 2015-02-21 09:38:33 +01:00
quasiquote006 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
records001 Merged. 2015-03-20 09:27:49 +00:00
records002 Changed tests for new record syntax. 2015-03-19 18:49:21 +00:00
records003 Merged. 2015-03-20 09:27:49 +00:00
records004 Multiple record fields on one line (#2460) 2015-07-26 16:29:26 +01:00
reg001 Better inference for case blocks 2015-11-14 19:15:39 +00:00
reg002 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
reg003 Update error messages in tests 2015-05-31 21:22:36 +01:00
reg004 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
reg006 Show source location of case block names 2015-10-09 10:31:17 +02:00
reg007 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
reg010 Update error messages in tests 2015-05-31 21:22:36 +01:00
reg013 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
reg016 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
reg017 Update tests for proof deprecation 2015-09-10 12:01:39 +02:00
reg018 adjust tests with --consolewidth for use with -f curses 2015-03-19 14:42:12 +00:00
reg020 Move Fin, Vect and So from prelude to base 2014-12-31 20:18:02 +00:00
reg023 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
reg024 Adjust tests to the changed String show instance 2013-11-25 18:10:46 +01:00
reg025 Move Fin, Vect and So from prelude to base 2014-12-31 20:18:02 +00:00
reg027 adjust test with --consolewidth for use with -f curses 2015-03-19 14:57:21 +00:00
reg028 Update tests for proof deprecation 2015-09-10 12:01:39 +02:00
reg029 Make reg029 pass on Windows 2015-04-01 21:18:37 +02:00
reg031 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
reg032 Categorise tests 2014-01-30 17:24:08 +00:00
reg034 Update error messages in tests 2015-05-31 21:22:36 +01:00
reg035 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
reg036 Fix parameter name propagation 2014-02-22 12:15:49 +00:00
reg037 Remove PEq 2015-05-11 02:38:08 +02:00
reg038 Tweak scoping rules in instance generation 2014-03-06 11:47:49 +00:00
reg039 Don't require expect for tests with timeouts 2015-04-03 17:38:42 +02:00
reg040 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
reg041 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
reg042 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
reg044 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
reg045 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
reg046 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
reg047 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
reg048 Library rearrangement done. 2015-03-19 18:09:53 +01:00
reg049 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
reg050 Prevent unquotations from being parsed as infix operators 2015-03-05 16:22:51 +01:00
reg051-disabled New language-dependent FFI 2015-01-17 19:08:33 +00:00
reg052 Updated changelog 2015-03-06 17:26:33 +00:00
reg053 Changed (<$>) to (<*>) 2015-03-02 10:08:22 +01:00
reg054 Better partial evaluation of polymorphic HOFs 2015-06-06 12:04:48 +01:00
reg055 Update error messages in tests 2015-05-31 21:22:36 +01:00
reg056 Remove PRefl and all references to it 2015-05-11 00:41:09 +02:00
reg057 Allow class constraints to be named 2015-01-01 22:51:47 +00:00
reg058 Scoped implicits fix 2015-02-14 13:58:06 +00:00
reg059 Trickiness with implicits in dependent classes 2015-03-19 12:56:05 +00:00
reg060 Avoid test clash with upstream 2015-03-22 10:49:17 +01:00
reg061 Avoid test clash with upstream 2015-03-22 10:49:17 +01:00
reg062 Don't look for the parameters of bound variables. 2015-04-20 11:41:56 +02:00
reg063 Fix elaboration of "with ... proof ..." clauses 2015-05-12 13:04:17 +02:00
reg064 Fix the broken 'Exact' versions of lookups 2015-05-18 10:33:33 +01:00
reg065 Fix dictionary arguments in dependent type class methods 2015-05-20 11:23:03 +02:00
reg066 Fix quasiquotes of Raw bindings 2015-07-09 15:51:14 +02:00
sourceLocation001 Update tests for proof deprecation 2015-09-10 12:01:39 +02:00
sugar001 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
sugar002 Categorise tests 2014-01-30 17:24:08 +00:00
sugar003 Categorise tests 2014-01-30 17:24:08 +00:00
sugar004 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
sugar005 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
syntax001 Display expected type of RHS in error messages 2015-10-17 14:30:36 +01:00
syntax002 Allow syntax rules at the declaration level 2015-08-22 16:58:35 +02:00
tactics001 Update test for improved reflection API 2015-08-16 17:06:23 -07:00
totality001 adjust tests with --consolewidth for use with -f curses 2015-03-19 17:24:36 +00:00
totality002 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
totality003 Update tests for proof deprecation 2015-09-10 12:01:39 +02:00
totality004 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
totality005 Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
totality006 Fix 'impossible' check 2015-05-09 19:15:49 +01:00
totality007 Fix expected result of totality007 on windows 2015-07-22 23:47:42 +02:00
totality008 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
totality009 Show source location of case block names 2015-10-09 10:31:17 +02:00
totality010 Make test totality010 work when ncurses is enabled 2015-09-09 01:51:49 +02:00
tutorial001 Fix regression with data declarations in where 2014-03-10 20:47:41 +00:00
tutorial002 Consistency of implicit/pattern name binding rules 2015-10-17 18:44:00 +01:00
tutorial003 Changed (<$>) to (<*>) 2015-03-02 10:08:22 +01:00
tutorial004 Update tests for proof deprecation 2015-09-10 12:01:39 +02:00
tutorial005 Add tests for tutorial examples 2014-03-23 15:21:28 +00:00
tutorial006 Better inference for case blocks 2015-11-14 19:15:39 +00:00
unique001 Change wording in unification errors 2015-05-24 23:23:20 +01:00
unique002 Change wording in unification errors 2015-05-24 23:23:20 +01:00
unique003 Change wording in unification errors 2015-05-24 23:23:20 +01:00
Makefile javascript: enable more tests 2015-08-12 02:40:43 +02:00
mktest.pl Change from shebangs with absolute references to using /usr/bin/env 2013-11-18 17:10:00 +00:00
README Added a test for bignums 2015-04-10 09:49:28 +02:00
runtest.pl Merge pull request #2108 from Heather/sandbox_path 2015-04-14 20:12:10 +01:00

Tests are categorised as follows:

basic:       Basic language features, some complete programs
bignum:      Bignums and GMP
dsl:         Embedded DSLs and features to support DSL development
effects:     Effects package
error:       Error messages and error reflection
ffi:         FFI calls, including type providers
idrisdoc:    Documentation tool functionality
interactive: Interactive editing, proof search
io:          IO monad
literate:    .lidr files; literate programming
primitives:  Primitive types
proof:       Theorem proving, tactics
sugar:       Syntactic sugar, syntax extensions
totality:    Totality checking
tutorial:    Examples from the tutorial

reg:         Regression tests, covering previous bug fixes