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

beauhoyt / bytesize / 21886072372
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v0.3.0
DEFAULT BRANCH: master
Ran 10 Feb 2026 11:14PM UTC
Jobs 1
Files 2
Run time 1min
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

10 Feb 2026 11:05PM UTC coverage: 98.636%. First build
21886072372

push

github

beauhoyt
Updates to Uint128 and Bytes

* Update Makefile moving `go tool cover -func=c.out` to the `make test`
  statement
* Update README.md adding badge for build/test with github workflows
* Add refactor Parse() breaking out logic into getNumAndUnitRunes() and
  getMultiplierForUnitString() to reduce high gocyclo complexity
* Added support for processing negative numbers to getNumAndUnitRUnes()
  so that we can throw proper errors when we get bad negative values.
* Change Type() to return `bytesize.Bytes` instead of `bytes`
* Update String() to return default value Lo uint64 as B Bytes. Though
  it should be impossible to hit this, but we have it just incase.
* Fix unit test for TestParseErrors()
* Add TestSet() and TestSetError() for testing Set()
* Add TestGet() for testing Get()
* Add TestType() for testing Type()
* Add TestUnmarshalText() for testing UnmarshalTexT()
* Add methods to Uint128: AddErr(), Add64Err(), SubErr(), Sub64Err(),
  MulErr(). And Updated Mul64Error() to Mul64Err().
* Add method to Uint128 FromBigErr()
* Update unit test for Uint128 to support new Err Methods:
  TestUint128()
* Add unit test for Uint128 to support new Err Methods:
  TestArithmeticErrors(), TestOverflowAndUnderflowErrors(),
  TestTrailingZeros(), TestOnesCount(), TestRotateLeft(),
  TestRotateRight(), TestReverse(), TestReverseBytes(), TestLen()

146 of 151 new or added lines in 2 files covered. (96.69%)

651 of 660 relevant lines covered (98.64%)

1.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
97.32
bytesize.go
Jobs
ID Job ID Ran Files Coverage
1 21886072372.1 10 Feb 2026 11:14PM UTC 2
98.64
GitHub Action Run
Source Files on build 21886072372
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21886072372
  • 0046dcae on github
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