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

georust / geo / 1984
86%

Build:
DEFAULT BRANCH: master
Ran 08 May 2020 08:20PM UTC
Jobs 4
Files 58
Run time 6min
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
1984

push

travis-ci

web-flow
Merge #450

450: Add center method to Rect r=frewsxcv a=mbrobbel

This is an attempt to close #448. 
This is my first contribution to this project, so I'm happy to learn how to improve.

- Added a `center` method to `Rect` that returns the center `Coordinate` of the `Rect`.
- Implemented the `approx` crate traits for `Coordinate` to enable usage of the `assert_relative_eq` macro in tests for this type.
- Added some documention including simple examples for other `Rect` methods.
- `Rect` `Centroid` impl now uses the `center` method.


Co-authored-by: Matthijs Brobbel <m1brobbel@gmail.com>

4857 of 5524 relevant lines covered (87.93%)

6.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1984.1 (GEO_TYPES_FEATURES="") 08 May 2020 08:20PM UTC 0
87.93
Travis Job 1984.1
2 1984.2 (GEO_TYPES_FEATURES="--features serde") 08 May 2020 08:25PM UTC 0
87.93
Travis Job 1984.2
3 1984.3 (GEO_TYPES_FEATURES="--features rstar") 08 May 2020 08:25PM UTC 0
87.93
Travis Job 1984.3
4 1984.4 (GEO_FEATURES="") 08 May 2020 08:27PM UTC 0
87.93
Travis Job 1984.4
Source Files on build 1984
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1984
  • 2b741ae6 on github
  • Prev Build on master (#1977)
  • Next Build on master (#1985)
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