• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bennn / rackunit-abbrevs / 28 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 14 Feb 2017 11:36PM UTC
Files 9
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Feb 2017 11:10PM UTC coverage: 100.0%. Remained the same
RACKET_VERSION=6.3

push

travis-ci

bennn
let-bind the check-* functions

In the olden days,

```
(check-true* (λ (x) (not x))
 [#true]
 [#false])
```

would expand to:

```
(begin
 (check-true ((λ (x) (not x)) #true))
 (check-true ((λ (x) (not x)) #false)))
```

(No problem if there's an identifier instead of the λ. But that's silly.)

Now we use a let to bind the function, so the expansion is more like:

```
(let ([f (λ (x) (not x))])
 (check-true ( #true))
 (check-true ((λ (x) (not x)) #false)))
```

(Where `f` is gensym'd --- either from the function's "name" or an arbitrary symbol.)

154 of 154 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 28.3 (RACKET_VERSION=6.3)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28
  • Travis Job 28.3
  • 45b868a0 on github
  • Prev Job for RACKET_VERSION=6.3 on master (#26.3)
  • Next Job for RACKET_VERSION=6.3 on master (#29.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc