-
Notifications
You must be signed in to change notification settings - Fork 4
/
special-functions.asd
66 lines (60 loc) · 2.24 KB
/
special-functions.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
;;; -*- Mode: LISP; Base: 10; Syntax: ANSI-Common-Lisp; Package: CL-USER -*-
;;; Copyright (c) 2020-2022 by Symbolics Pte. Ltd. All rights reserved.
(asdf:defsystem #:special-functions
:version "1.2.0"
:license :MS-PL
:author "Steve Nunez <[email protected]>"
:long-name "Mathematical Special Functions"
:description "Special functions in Common Lisp"
:long-description #.(uiop:read-file-string
(uiop:subpathname *load-pathname* "description.text"))
;:homepage "https://lisp-stat.dev/docs/manuals/special-functions/"
:source-control (:git "https://github.com/Lisp-Stat/special-functions.git")
:bug-tracker "https://github.com/Lisp-Stat/special-functions/issues"
:serial t
:depends-on (:num-utils :float-features :let-plus :alexandria+)
:pathname "src"
:components ((:file #:pkgdcl)
(:file #:utils)
(:file #:erf)
(:file #:lanczos)
(:file #:gamma)
(:file #:log-gamma)
(:file #:factorial))
:in-order-to ((test-op (test-op special-functions/tests))))
(asdf:defsystem #:special-functions/tests
:version "1.0.0"
:license :MS-PL
:description "Tests for special functions"
:author "Steven Nunez <[email protected]>"
:depends-on (#:special-functions
;; Test tools
#:cl-variates
#:fiveam
#:select)
:serial t
:components ((:file #:tests/tpkgdcl)
(:module data
:pathname tests/data
:components ((:file #:prologue)
(:file #:erf-small-data)
(:file #:erf-medium-data)
#-allegro (:file #:erf-large-data) ; ACL raises underflow condition
(:file #:erf-inverse-data)
(:file #:erfc-inverse-data)
#-allegro (:file #:erfc-inverse-small-data)
(:file #:gamma-data)
(:file #:incomplete-gamma-small-data)
(:file #:incomplete-gamma-medium-data)
(:file #:incomplete-gamma-large-data)
(:file #:incomplete-gamma-integer-data)
(:file #:epilogue)))
(:module tests
:components ((:file #:main)
(:file #:erf-test)
(:file #:gamma-test)
(:file #:incomplete-gamma-test))))
:perform (asdf:test-op (o s)
(uiop:symbol-call :fiveam '#:run!
(uiop:find-symbol* '#:all-tests
:special-functions-tests))))