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

georust / geo / 1984 / 2
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 08 May 2020 08:25PM UTC
Files 58
Run time 9s
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

08 May 2020 07:26PM UTC coverage: 87.925% (-0.07%) from 87.996%
GEO_TYPES_FEATURES="--features serde"

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%)

1.63 hits per line

Source Files on job 1984.2 (GEO_TYPES_FEATURES="--features serde")
  • Tree
  • List 0
  • Changed 15
  • Source Changed 3
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 164
  • Travis Job 1984.2
  • 2b741ae6 on github
  • Prev Job for GEO_TYPES_FEATURES="--features serde" on master (#1977.2)
  • Next Job for GEO_TYPES_FEATURES="--features serde" on master (#1985.2)
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