Commit Graph

6 Commits

Author SHA1 Message Date
Julien Fischer
ada4e79bdc Document how "next integer" operations handle infinite values.
Fix a test case failure in spf grades.

library/math.m:
     Document how the "next integer" operations handle arguments of infinite
     magnitude.

tests/general/float_test.m:
    s/ceil/ceiling/ in a spot.

    Test next integer operations with +/-infinity (and zero).

    In the erlang grades, avoid running parts of these tests that
    rely on library functionality that is NYI.

    Document what the expected outputs correspond to.

tests/general/float_test.exp:
    Update this expected output.

tests/general/float_test.exp2:
    Replace the contents of this file: previously it contained output for
    some ancient version of MSVC; it now contains the spf version of the
    output.

tests/general/float_test.exp3:
    A new expected output for the erlang grades.
2018-09-05 02:19:01 +00: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
a5bf6d3fc9 Uncomment some parts of this test which had previously
Estimated hours taken: 0.5
Branches: main

tests/general/float_test.m:
tests/general/float_test.exp:
	Uncomment some parts of this test which had previously
	been commented out because they didn't work with NU-Prolog.
2002-03-06 03:50:31 +00:00
Peter Ross
96b1c9eb67 Changes required to the test cases for the new string__format.
Estimated hours taken: 1

tests/general/float_test.exp:
tests/general/string_format_test.exp:
tests/general/string_format_test.m:
tests/general/string_format_test_2.exp:
tests/general/string_format_test_2.exp2:
tests/general/string_format_test_2.exp3:
tests/general/string_format_test_3.exp:
tests/general/string_format_test_3.exp2:
tests/general/string_format_test_3.exp3:
tests/hard_coded/string_loop.exp:
    Changes required to the test cases for the new string__format.
2000-08-11 08:24:04 +00:00
Zoltan Somogyi
2dfc34f7b4 Update the expected output after Fergus's recent change.
Estimated hours taken: 0.1

float_test:
	Update the expected output after Fergus's recent change.
1996-11-25 10:11:14 +00:00
Fergus Henderson
7c84b4ad7a Add a new test frameopt_mkframe_bug (not yet enabled, since
Estimated hours taken: 0.5

tests/general:
	Add a new test frameopt_mkframe_bug (not yet enabled, since
	we don't yet passit).  Add the `.exp' file for float_test.m.
1996-11-24 16:30:57 +00:00