Question question about (ratintvl? '(1 . 2)) preselector test case 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News Project Step #1, due Friday 8 November
Re: News New Test Cases! (Benedict Singer)
Date: 2002, Nov 08
From: Ivan Beschastnikh <ivan@uchicago.edu>

Why does the following test case has to result in a #f?
Isn't '(1 . 2) simply the interval [1,2] both of whose
endpoints are rational and in correct order of magnitude?
I used the pair structure to represent intervals and this
test case returns true for my program.

(testcase
 (ratintvl? '(1 . 2))
 ())


Messages

1. Note Representation by Benedict Singer, 2002, Nov 08
(_ Warning Actually... by Benedict Singer, 2002, Nov 08
(_ Note Stay with lists by Mark Kittisopikul, 2002, Nov 08

to: "question about (ratintvl? '(1 . 2)) preselector test case"