Question: write an is-older function that satisfies the following tests in the Racket programming language Thanks! (define-test-suite test-exercise-01 (let ( [year1 2001] [month1 2] [day1 9]

write an is-older function that satisfies the following tests in the Racket programming language

write an is-older function that satisfies the following tests in the Racket

Thanks!

(define-test-suite test-exercise-01 (let ( [year1 2001] [month1 2] [day1 9] [year2 2003] [month2 5] [day2 20]) (test-true "(is-older 2015 3 15 2016 7 4)". (is-older 2015 3 15 2016 7 4)) (test-true "(is-older 2001 2 9 2003 5 20" (is-older year1 month1 day1 year2 month2 day2)) (test-false "(is-older 2003 5 20 2001 2 9)" (is-older year2 month2 day2 year1 month1 day1)) (test-false "(is-older 2005 4 4 2004 5 4)". (is-older 2005 4 4 2004 5 4)) (test-false "(is-older 2003 3 3 2003 3 3)". (is-older 2003 3 3 2003 3 3))))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!