File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 133133
134134 (facts " titles"
135135 (titles [cities]) => [" The City and the City" ]
136- (titles books) => [" The City and the City" " Wild Seed" " Embassytown" ]))
136+ (titles books) => (just [" The City and the City"
137+ " Wild Seed"
138+ " Embassytown"
139+ " The Little Schemer" ]
140+ :in-any-order )))
137141
138142(facts " monotonic?"
139- (monotonic? [1 2 3 ]) => true
140- (monotonic? [0 1 10 11 ]) => true
141- (monotonic? [3 2 0 -3 ]) => true
142- (monotonic? [3 2 2 ]) => true
143- (monotonic? [1 2 1 0 ]) => false )
143+ (monotonic? [1 2 3 ]) => true
144+ (monotonic? [0 1 10 11 ]) => true
145+ (monotonic? [3 2 0 -3 ]) => true
146+ (monotonic? [3 2 2 ]) => true
147+ (monotonic? [1 2 1 0 ]) => false )
144148
145149(facts " stars"
146150 (stars 1 ) => " *"
208212 (all-author-names books)
209213 => #{" Matthias Felleisen" " China Miéville"
210214 " Octavia E. Butler" " Daniel Friedman" })
211-
212215 (facts " author->string"
213216 (author->string felleisen) => " Matthias Felleisen"
214217 (author->string friedman) => " Daniel Friedman (1944 - )"
264267 (facts " books-by-living-authors"
265268 (books-by-living-authors books) => (just #{little-schemer cities embassytown})
266269 (books-by-living-authors (concat books [deus-irae, silmarillion]))
267- => (just #{little-schemer cities embassytown silmarillion})))
268-
269- ; %____%
270+ => (just #{little-schemer cities embassytown silmarillion})))
You can’t perform that action at this time.
0 commit comments