mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
609 B
21 lines
609 B
(use-modules (srfi srfi-64))
|
|
(use-modules (tests srfi64-extras))
|
|
(use-modules (gnucash engine))
|
|
|
|
(define (run-test)
|
|
(test-runner-factory gnc:test-runner)
|
|
(test-begin "test-engine")
|
|
(test-engine)
|
|
(test-end "test-engine"))
|
|
|
|
(define (test-engine)
|
|
(test-begin "testing function availability")
|
|
|
|
(test-assert "testing gnc-pricedb-lookup-latest-before-t64"
|
|
(gnc-pricedb-lookup-latest-before-t64 '() '() '() 0))
|
|
|
|
(test-assert "testing gnc-pricedb-lookup-latest-before-any-currency-t64"
|
|
(gnc-pricedb-lookup-latest-before-any-currency-t64 '() '() 0))
|
|
|
|
(test-end "testing deprecated functions"))
|