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

hibtc / MAD
81%
master: 68%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Repo Added 16 Feb 2017 02:27PM UTC
Files 69
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

LAST BUILD ON BRANCH string_interp
branch: string_interp
CHANGE BRANCH
x
Reset
  • string_interp
  • benchmarks
  • cov-test
  • dev
  • gitattributes
  • local-changes
  • master
  • nlopt
  • no-binaries
  • travis

pending completion
70

push

travis-ci

coldfix
Interpolate values with `tostring()`

- interpolate non-string values for which `..` is not defined
- control format of numbers

Example:
    MAD.option.format = "%+.15e"
    p = \f print(pcall(f))
    p(\ '$foo' % {foo=true})
    p(\ '$foo' % {foo=1.2})

Before:
    false	./src/madl_gutil.mad:435: attempt to concatenate local 'val' (a boolean value)
    true	1.2

After:
    true	true
    true	+1.200000000000000e+00

1 of 1 new or added line in 1 file covered. (100.0%)

4022 of 4942 relevant lines covered (81.38%)

6834.63 hits per line

Relevant lines Covered
Build:
Build:
4942 RELEVANT LINES 4022 COVERED LINES
6834.63 HITS PER LINE
Source Files on string_interp
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
70 string_interp Interpolate values with `tostring()` - interpolate non-string values for which `..` is not defined - control format of numbers Example: MAD.option.format = "%+.15e" p = \f print(pcall(f)) p(\ '$foo' % {foo=true}) p(\ '$foo' % {fo... push 23 Mar 2017 02:02PM UTC coldfix travis-ci pending completion  
69 string_interp Fail on invalid argument Handle invalid arguments as NO-OP doesn't make any sense to me. Error is better than silent ignorance here. A maybe even better alternative would be to just avoid the type check altogether and let the system fail if it d... push 23 Mar 2017 10:04AM UTC coldfix travis-ci pending completion  
68 string_interp Fail on invalid argument Error is better than silent ignorance. push 23 Mar 2017 09:55AM UTC coldfix travis-ci pending completion  
See All Builds (32)
  • Repo on GitHub
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