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

georust / geo / 1982
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: staging
DEFAULT BRANCH: master
Ran 08 May 2020 07:42PM UTC
Jobs 4
Files 58
Run time 2min
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
1982

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.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1982.1 (GEO_TYPES_FEATURES="") 08 May 2020 07:42PM UTC 0
87.93
Travis Job 1982.1
2 1982.2 (GEO_TYPES_FEATURES="--features serde") 08 May 2020 07:44PM UTC 0
87.93
Travis Job 1982.2
3 1982.3 (GEO_TYPES_FEATURES="--features rstar") 08 May 2020 07:45PM UTC 0
87.93
Travis Job 1982.3
4 1982.4 (GEO_FEATURES="") 08 May 2020 07:44PM UTC 0
87.93
Travis Job 1982.4
Source Files on build 1982
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1982
  • 2b741ae6 on github
  • Prev Build on staging (#1976)
  • Next Build on staging (#1992)
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