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

JuliaData / CategoricalArrays.jl / 705 / 2
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2018 04:05PM UTC
Files 11
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

05 Apr 2018 03:53PM UTC coverage: 98.718% (+3.1%) from 95.574%
705.2

push

travis-ci

web-flow
Fix similar() to respect requested element type, implement float() and complex() (#133)

similar(::CategoricalArray, T) used to return a CategoricalArray{T}, which is not a correct
implementation of the AbstractArray interface. Change it to return Array{T}, except when
T <: Union{CatValue,Missing}. This also fixes the behavior of AbstractArray constructors and
convert methods, whose fallback definitions use similar().

With these fixes, implementing float() and complex() is trivial.

Stop testing AbstractArray{T}(::CategoricalArray), which is not supported in Base either.

693 of 702 relevant lines covered (98.72%)

7569.06 hits per line

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