Files
Nim/tests
Andreas Rumpf 08bc9ac03c version 0.7.6
2009-04-22 16:12:19 +02:00
..
2009-01-07 17:03:25 +01:00
2008-12-12 14:02:27 +01:00
2008-12-12 14:02:27 +01:00
2009-04-22 16:12:19 +02:00
2008-08-23 11:32:48 +02:00
2008-08-23 11:32:48 +02:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:32:48 +02:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2008-06-23 01:37:49 +02:00
2008-06-23 01:37:49 +02:00
2009-04-22 16:12:19 +02:00
2008-08-23 11:16:44 +02:00
2008-06-23 01:37:49 +02:00
2008-06-23 01:37:49 +02:00
2008-08-23 11:16:44 +02:00
2009-04-22 16:12:19 +02:00
2008-06-23 01:37:49 +02:00
2008-06-23 01:37:49 +02:00
2009-01-07 17:03:25 +01:00
2008-08-23 11:32:48 +02:00
2008-08-23 11:16:44 +02:00
2008-06-23 01:37:49 +02:00
2008-12-12 14:02:27 +01:00
2008-12-12 14:02:27 +01:00
2008-08-23 11:16:44 +02:00
2008-12-12 14:02:27 +01:00
2008-12-12 14:02:27 +01:00
2008-11-16 22:08:15 +01:00
2008-06-23 01:37:49 +02:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:16:44 +02:00
2008-11-16 22:08:15 +01:00
2009-04-22 16:12:19 +02:00
2008-11-16 22:08:15 +01:00
2009-04-22 15:55:27 +02:00
2009-04-22 16:12:19 +02:00
2008-06-23 01:37:49 +02:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:16:44 +02:00
2008-06-23 01:37:49 +02:00
2009-04-22 16:12:19 +02:00
2008-06-23 01:37:49 +02:00
2008-06-23 01:37:49 +02:00
2008-12-12 14:02:27 +01:00
2008-08-23 11:16:44 +02:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:16:44 +02:00
2008-06-23 01:37:49 +02:00
2009-01-07 17:03:25 +01:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:16:44 +02:00
2008-08-23 11:16:44 +02:00
2008-12-12 14:02:27 +01:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:16:44 +02:00
2008-12-12 14:02:27 +01:00
2009-04-22 16:12:19 +02:00
2009-01-07 17:03:25 +01:00
2008-11-16 22:08:15 +01:00
2009-04-22 15:55:27 +02:00
2008-08-23 11:16:44 +02:00
2008-08-23 11:16:44 +02:00
2008-11-16 22:08:15 +01:00
2008-06-23 01:37:49 +02:00
2008-08-23 11:16:44 +02:00
2009-01-07 17:03:25 +01:00
2008-06-23 01:37:49 +02:00
2008-06-23 01:37:49 +02:00
2008-11-16 22:08:15 +01:00
2009-04-22 16:12:19 +02:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2009-04-22 16:12:19 +02:00
2008-06-23 01:37:49 +02:00
2009-04-22 16:12:19 +02:00
2008-12-12 14:02:27 +01:00
2008-11-16 22:08:15 +01:00
2008-12-12 14:02:27 +01:00
2008-08-23 11:16:44 +02:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:16:44 +02:00
2008-06-23 01:37:49 +02:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:32:48 +02:00
2008-08-23 11:16:44 +02:00
2008-06-23 01:37:49 +02:00
2008-08-23 11:16:44 +02:00
2008-11-16 22:08:15 +01:00
2009-04-22 15:55:27 +02:00
2008-08-23 11:16:44 +02:00
2008-08-23 11:16:44 +02:00
2008-11-16 22:08:15 +01:00
2008-06-23 01:37:49 +02:00
2008-11-16 22:08:15 +01:00
2009-04-22 16:12:19 +02:00
2008-06-23 01:37:49 +02:00
2009-04-22 15:55:27 +02:00
2008-08-23 11:16:44 +02:00
2009-04-22 15:55:27 +02:00
2008-08-23 11:16:44 +02:00
2008-11-16 22:08:15 +01:00
2009-04-22 16:12:19 +02:00
2008-11-16 22:08:15 +01:00
2008-12-12 14:02:27 +01:00
2009-04-22 16:12:19 +02:00
2008-06-23 01:37:49 +02:00
2008-08-23 11:16:44 +02:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2008-06-23 01:37:49 +02:00
2008-06-23 01:37:49 +02:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2008-12-12 14:02:27 +01:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:32:48 +02:00
2008-11-16 22:08:15 +01:00
2009-04-22 16:12:19 +02:00
2009-04-22 16:12:19 +02:00
2008-12-12 14:02:27 +01:00
2008-11-16 22:08:15 +01:00
2008-11-16 22:08:15 +01:00
2008-08-23 11:16:44 +02:00
2008-12-12 14:02:27 +01:00
2008-08-23 11:16:44 +02:00
2008-12-12 14:02:27 +01:00
2008-11-16 22:08:15 +01:00
2008-06-23 01:37:49 +02:00
2008-12-12 14:02:27 +01:00

This directory contains the test cases.
Each test must have a filename of the form: ``t*.nim``

The testcases may contain the directives ``#ERROR``, ``#ERROR_IN``, 
``#ERROR_MSG`` or ``#OUT``.
``#ERROR`` is used to indicate that the compiler should report
an error in the marked line (the line that contains the ``#ERROR``
directive.)
The format for ``#ERROR_IN`` is::

     #ERROR_IN filename linenumber

You can omit the extension of the filename (``.nim`` is then assumed).
The format for ``#ERROR_MSG`` is::

     #ERROR_MSG message

This directive specifies the error message Nimrod shall produce.

Tests which contain none of the ``#ERROR*`` directives should compile. 
Thus they are executed after successful compilation and their output 
is compared to the expected results (specified with the ``#OUT`` 
directive). Tests which require user interaction are currently not 
possible.