;; -*-theme-d-*-

;; Copyright (C) 2018  Tommi Höynälänmaa
;; Distributed under GNU General Public License version 3,
;; see file doc/GPL-3.

;; Expected results: translation and running OK

(define-proper-program (tests test698)

  (import (standard-library core)
	  (standard-library basic-math)
	  (standard-library console-io)
	  (tests numerical-test-env))

  (define-simple-proc main (() <none> nonpure)
    (report-test (r-round 1.5) 2.0)
    (report-test (r-truncate 1.5) 1.0)
    (report-test (r-floor 1.5) 1.0)
    (report-test (r-ceiling 1.5) 2.0)))
