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

n1tehawk / luaunit / 223
100%

Build:
DEFAULT BRANCH: nitehawk
Ran 22 Apr 2016 04:06PM UTC
Jobs 6
Files 1
Run time 1min
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

pending completion
223

push

travis-ci

n1tehawk
Allow zero margin again for almostEquals()

Also see the previous discussion at
https://github.com/bluebird75/luaunit/issues/33

I've reconsidered this and come to the conclusion that there
might be valid reasons for using a zero margin parameter with
assertAlmostEquals() or assertNotAlmostEquals(). E.g. if the
user has to deal with rounding errors within our "boost" interval
(EPSILON), but doesn't want (to add) any additional "margin",
then passing 0 actually makes sense.

assertEquals() and assertNotEquals() do not provide an adequate
replacement in that particular case.

1012 of 1020 relevant lines covered (99.22%)

1613.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 223.1 (LUA=lua5.1) 22 Apr 2016 04:06PM UTC 0
99.22
Travis Job 223.1
2 223.2 (LUA=lua5.2) 22 Apr 2016 04:06PM UTC 0
99.21
Travis Job 223.2
3 223.3 (LUA=lua5.3) 22 Apr 2016 04:06PM UTC 0
99.21
Travis Job 223.3
4 223.4 (LUA=luajit) 22 Apr 2016 04:07PM UTC 0
98.6
Travis Job 223.4
5 223.5 (LUA=luajit2.0) 22 Apr 2016 04:07PM UTC 0
98.6
Travis Job 223.5
6 223.6 (LUA=luajit2.1) 22 Apr 2016 04:07PM UTC 0
98.6
Travis Job 223.6
Source Files on build 223
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #223
  • 05edc753 on github
  • Prev Build on nitehawk (#222)
  • Next Build on nitehawk (#226)
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

© 2026 Coveralls, Inc