;; -*-theme-d-*-

;; Copyright (C) 2019  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 test744)

  (import (standard-library core)
	  (tests numerical-test-env))

  (define-simple-proc main (() <none> nonpure)
    (report-boolean-test (equal-values? null null) #t)
    (report-boolean-test
     (equal-values? (static-cast <object> null) null) #t)
    (report-boolean-test
     (equal-values? null (static-cast <object> null)) #t)
    (report-boolean-test
     (equal-values? (static-cast <object> null) (static-cast <object> null))
     #t)

    (report-boolean-test (equal-objects? null null) #t)
    (report-boolean-test
     (equal-objects? (static-cast <object> null) null) #t)
    (report-boolean-test
     (equal-objects? null (static-cast <object> null)) #t)
    (report-boolean-test
     (equal-objects? (static-cast <object> null) (static-cast <object> null))
     #t)

    (report-boolean-test (equal-contents? null null) #t)
    (report-boolean-test
     (equal-contents? (static-cast <object> null) null) #t)
    (report-boolean-test
     (equal-contents? null (static-cast <object> null)) #t)
    (report-boolean-test
     (equal-contents? (static-cast <object> null) (static-cast <object> null))
     #t)))
