Commit Graph

6 Commits

Author SHA1 Message Date
Zoltan Somogyi
2f7c5fb87f Update the programming style of some tests. 2020-10-03 17:43:38 +10:00
Zoltan Somogyi
33eb3028f5 Clean up the tests in half the test directories.
tests/accumulator/*.m:
tests/analysis_*/*.m:
tests/benchmarks*/*.m:
tests/debugger*/*.{m,exp,inp}:
tests/declarative_debugger*/*.{m,exp,inp}:
tests/dppd*/*.m:
tests/exceptions*/*.m:
tests/general*/*.m:
tests/grade_subdirs*/*.m:
tests/hard_coded*/*.m:
    Make these tests use four-space indentation, and ensure that
    each module is imported on its own line. (I intend to use the latter
    to figure out which subdirectories' tests can be executed in parallel.)

    These changes usually move code to different lines. For the debugger tests,
    specify the new line numbers in .inp files and expect them in .exp files.
2015-02-14 20:14:03 +11:00
Fergus Henderson
d7a279e3a6 Fix a syntax error in my previous change.
Estimated hours taken: 0.1

tests/hard_coded/rev_arith.m:
	Fix a syntax error in my previous change.
1998-03-12 21:29:25 +00:00
Fergus Henderson
9308d1815a Change the `rev_arith.m' test so that it only tests
Estimated hours taken: 0.25

tests/hard_coded/Mmakefile:
tests/hard_coded/rev_arith.m:
tests/hard_coded/rev_arith.exp:
	Change the `rev_arith.m' test so that it only tests
	for the things which we actually support, and enable it.
1998-03-11 19:36:28 +00:00
Zoltan Somogyi
cf313be190 Replace "is" by "=".
Estimated hours taken: 0.1

rev_arith.m:
	Replace "is" by "=".
1996-05-29 10:59:54 +00:00
Zoltan Somogyi
d916179781 Added a program to test reverse-mode arithmetic.
Estimated hours taken: 0.2

Added a program to test reverse-mode arithmetic. I have not modified the
Mmake file to include the new test among the list of automatically executed
tests, since the change to enable the compiler to handle reverse-mode
arithmetic is not yet committed.
1996-05-18 14:26:05 +00:00