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

Robbepop / dimacs-parser / 744
91%

Build:
DEFAULT BRANCH: master
Ran 24 May 2020 01:50PM UTC
Jobs 1
Files 4
Run time 1s
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
744

cron

travis-ci

Robbepop
A `std::io::Read`-based parser. Also, ran `cargo format`. (#3)

* Run `cargo fmt`

* Change parse internals to bytes rather than chars

This change is straightforward because the DIMACS format is ASCII-only.

* Added an std::io::Read-based parser

Panics on IO errors

Why?

Because the alternatives are:
   * `collect` the first IO error -- requiring us to pull the whole
   string into memory
   * catch those IO errors deep in the lexer, and bubble them up as a
   special kind of `ParseError`.

Since we'll generally be reading form files, read errors won't typically
happen, so I figure its better to just panic, since a use wouldn't want
to recover any ways.

* Add tests for read_dimacs

563 of 619 relevant lines covered (90.95%)

1.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 744.1 24 May 2020 01:50PM UTC 0
90.95
Travis Job 744.1
Source Files on build 744
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #744
  • 90915a22 on github
  • Prev Build on master (#743)
  • Next Build on master (#745)
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