- Jan 10, 2011
-
-
Liam M. Healy authored
Explicit package reference to grid:dimensions but there's an error because if the symbol isn't imported many more tests fail.
-
- Aug 23, 2010
-
-
Liam Healy authored
The FFT tests were testing nothing of consequence, just that NIL was equal to NIL, because it was looking at the result of (reset-urand) and then three non-existent multiple values. This is now fixed, so that fft-*-result-check actually binds the results of the calculations. Also, single-float tests are referenced to +sgl-epsilon+ and not +dbl-epsilon+. However, for (all-fft-test-forms 9 3 (64 99)), many tests fail: FAST-FOURIER-TRANSFORM: 235 assertions passed, 55 failed. so the tests are commented out.
-
- Jul 21, 2010
-
-
Liam M. Healy authored
Update status.text mostly be removing obsolete information without replacing it with current information. Use alexandria:lastcar for the last element of list so I do not use private definitions (non-loaded source).
-
- Jul 07, 2010
-
-
Liam M. Healy authored
Do not use cl-array in tests because it isn't always available. The safer way is by doing a copy out to a new CL array.
-
- Jun 30, 2010
-
-
Liam Healy authored
-
- Jun 02, 2010
-
-
Liam Healy authored
The macro #'assert-to-tolerance was not correct but now maps to sf-check-results. The order of arguments in the sf-frac-diff call in sf-check-single has reversed to match test_sf_check_result in the GSL code. The remaining exponential-function tests have been ported except for the one involving gsl_sf_exprel_n_CF_e which hasn't been ported. All the tests except one pass.
-
- Jun 01, 2010
-
-
Liam M. Healy authored
Fixed the argument order to an exponential-functions test. Error estimates used in special function calculations are optional in sf-check-results. There is an exponential-functions test which fails even though it is identical to a GSL test; commented out.
-
Liam Healy authored
The return value from #'exp-err-scaled should be sf-result-e10, now fixed. Test macros renamed, made to match their corresponding GSL versions better, and moved to augment.lisp. Some of the GSL exponential function tests are now ported, and two fail.
-
- May 30, 2010
-
-
Liam Healy authored
-
Liam Healy authored
The special function tests now match much better the GSL (C) tests, and the gamma function tests ported from C all pass except for a few. These few also fail in small C program tests, but for some reason pass in the GSL "make check" test.
-
- May 28, 2010
-
-
Liam Healy authored
The special function test for gamma from GSL are in place, and 32 fail, some by a substantial amount. Some are commented out.
-
- May 27, 2010
-
-
Liam M. Healy authored
Modified the parser converter for semi-automatic conversion of GSL tests for gamma special function. Still need some work to handle multiple values.
-
Liam Healy authored
-
- May 26, 2010
-
-
Liam M. Healy authored
The cl-ppcre C float parser is matching to nothing because there's no single part of a float that is required; d. .d and d all possible, so none of digit-before-decimal, decimal, or digit-after-decimal are required. Workaround is to check for length of 'mant and just return the string if it's zero.
-
Liam M. Healy authored
-
Liam Healy authored
Split convert-gsl-test into multiple function calls for modularity. Improve number parsing, still a work in progress. Arguments may be selected.
-
- May 24, 2010
-
-
Liam Healy authored
Convert the tests from cdf/test_auto.c for random distribution; this now gives a total number of tests more than 3600: TOTAL: 3644 assertions passed, 5 failed, 2 execution errors.
-
- May 23, 2010
-
-
Liam Healy authored
The paths to the foreign libraries have been simplified, making use of CFFI's statement "Most, if not all, Lisps supported by CFFI have a reasonable default search algorithm for foreign libraries." Therefore, the paths have been eliminated. If they need to be added, this should be done by modifying the variable cffi:*foreign-library-directories*. The header files location set with cc-flags for Darwin has been changed to use (gsl-config "--cflags").
-
- May 22, 2010
-
-
Liam Healy authored
Added chi-squared (which was not loaded at all), exponential, exponential-power, fdist, gamma-randist, tdist. Introduced new macros assert-posinf and assert-neginf to check for expected infinite results. Improved the automatic test converter and noted its known failings.
-
Liam Healy authored
The tests for #'ugaussian-p, #'ugaussian-q, #'ugaussian-pinv, #'ugaussian-qinv are automatically converted from the GSL tests instead of converted from the examples.
-
Liam Healy authored
Convert the cdf/test.c GSL test file to a list of CL forms. This requires cl-ppcre and iterate, and is not normally loaded with either gsll or gsll-tests.
-
Liam Healy authored
Introduced a new macro #'assert-to-tolerance to be used in lisp-unit:define-test forms that takes three arguments: form expected-value tolerance. This replaces test-tol6 that was defined in tdist.lisp. Defined the tolerance constants +test-tol6+ the exact same way as GSL, but grovelling machine.h where GSL_DBL_EPSILON is defined.
-
- Dec 27, 2009
-
-
Liam Healy authored
Add copyright and license information to each file, include a copy of the GPL under documentation/COPYING.
-
- Nov 17, 2009
-
-
Liam Healy authored
The FFT noise test test-fft-noise calls a new split-out function forward-fft-rc as well as the DFT "answer". In preparation for the generation of the test files, several functions in generate-tests.lisp have been modified to accept a known answer, in lieu of evaluating the form and saving that as the reference.
-
- Apr 30, 2009
-
-
Liam Healy authored
Method lisp-unit:numerical-equal on marrays always returned T; now fixed.
-
- Apr 16, 2009
-
-
Liam Healy authored
Thanks to Malcolm Reynolds and Tom Hermann, lisp-unit:numerical-equal is now a generic function, so in the new file test-unit/augment.lisp, a method has been defined to work on marrays. This now permits the direct comparison in tests of marrays, rather than looking at their CL equivalent with cl-array. So far the only test changed is vector-add.
-
- Mar 17, 2009
-
-
Liam Healy authored
Since lisp-unit with improved extensions is now a separate system at http://repo.or.cz/w/lisp-unit.git, the files associated with it have been removed from the subdirectory test-unit. Gsll-tests is dependent on this system.
-
- Mar 08, 2009
-
-
Liam Healy authored
Incorporated tmh's lisp-unit definitions he posted to http://paste.lisp.org/display/76579 in preference to the former definitions in additional-definitions.lisp. He took some of those ideas and incorporated them with his own. This produces some mysterious errors not seen before when run on both SBCL and CCL (different errors for each). The plan is to spin off lisp-unit as a separate system which will just be loaded by gsll-tests.
-
- Jan 27, 2009
-
-
Liam Healy authored
Fixed several bugs that affected non-native implementations, where :inputs, :outputs, or both were not properly declared. According to the CFFI manual, "Portability note: defcallback will not work correctly on some Lisps if it's not a top-level form." Evidently, this includes Clozure CL, so a new symbol :callback-toplevel-only has been pushed onto *features* if openmcl. This changes examples with callbacks to define the callbacks in a separate defparameter rather than in-line when the mobject is made of the function is called. As a result of both these changes, the only errors left in CCL tests were ones seen previously. CCL 64: TOTAL: 1259 assertions passed, 3 failed, 0 execution errors. SBCL 64: TOTAL: 1257 assertions passed, 5 failed, 0 execution errors.
-
- Jan 04, 2009
-
-
Liam Healy authored
GSL functions that operate from one corresponding array elements and then overwrite the first array, as well as those that operate on each element of an array with a scalar, are now named starting with "elt", as in "elt+"; formerely they started with "m". This is to reinforce the idea that they are not generally a mathematical solution to algebraic problems, just elementwise operations. The scalar operations (addition, multiplication) are methods of elt+ and elt* as well. Test results 64 bit: SBCL: TOTAL: 1223 assertions passed, 5 failed, 0 execution errors. CCL: TOTAL: 1228 assertions passed, 0 failed, 0 execution errors.
-
- Dec 27, 2008
-
-
Liam Healy authored
In defmobject, set the mpointer value if #'allocate is being called. For each file that defines a defmobject, I put a comment at the top showing the relevant GSL header file. For generators and quasi, the (re)initializing function returns void and not an :int, so that is changed in the defmobject definition, which now permits a list of two elements in initialize-suffix, with the second element indicating the :c-return.
-
- Nov 16, 2008
-
-
Liam Healy authored
Tests are now separated from examples and defined in a new system gsll-tests. Change name of condition 'input-error from 'EDOM.
-