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

phospr / fraction / 60 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 21 Dec 2016 04:23PM UTC
Files 3
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

21 Dec 2016 03:33PM UTC coverage: 100.0%. Remained the same
60.1

Pull #20

travis-ci

web-flow
Add option to skip simplification

Summary
-------
This diff adds a parameter to the constructor of the `Fraction` class
called `$shouldSimplify`. When set to false it skips the last step of
calling the `simplify()` function.

The parameter is defaulted to `true` so there is no change in existing
behavior.

Test Plan
--------
See new unit test.

Questions
---------
- My other thought was making `simplify()` protected so that we could
  subclass it and remove the simplification functionality in a subclass.

Context
-------
We want to be able to validate that a string is "fraction-like", but
keep the format that the string was originally in.
Pull Request #20: Add option to skip simplification

105 of 105 relevant lines covered (100.0%)

31.71 hits per line

Source Files on job 60.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 60
  • Travis Job 60.1
  • a130e9ba on github
  • Prev Job for on master (#55.1)
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