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

kelindar / roaring / 15946728502
86%
main: 87%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.5
DEFAULT BRANCH: main
Ran 28 Jun 2025 05:55PM UTC
Jobs 1
Files 12
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

28 Jun 2025 05:41PM UTC coverage: 85.945% (-1.0%) from 86.978%
15946728502

push

github

web-flow
Add min/max methods and fixed run container math (#12)

* Add copyright notice and implement min/max functions for containers

- Added copyright notice to all relevant files.
- Implemented min and max functions for array, bitmap, and run containers to retrieve the smallest and largest values, respectively.
- Introduced minZero and maxZero functions to find the smallest and largest unset values in each container type.
- Enhanced tests to validate the new min, max, minZero, and maxZero functionalities across various scenarios.

* table tests

* Update min/max tests to reflect correct expected values

- Adjusted test cases in TestMinMax to return the correct expected values for boundary conditions in array, bitmap, and run containers.
- Ensured consistency in expected results across all test scenarios, improving the accuracy of the min/max functionality tests.

* Update boundary test case in TestMinMax to reflect correct expected value

* Update README and refine MaxZero function logic

- Adjusted logo dimensions in README for better display.
- Updated the MaxZero function in the Bitmap struct to improve logic for finding the last zero bit, ensuring accurate results across various scenarios.
- Enhanced test cases in TestMinMax to reflect correct expected values for boundary conditions in array, bitmap, and run containers.

* Refactor container functions and enhance test coverage

- Updated container methods to improve logic for finding unset values, including arrMinZero and runMinZero.
- Removed unused maxZero functions from container types to streamline code.
- Added arrToRun function to optimize array to run conversion.
- Enhanced test cases in TestMinMax to ensure accurate results for boundary conditions and removed commented-out tests for clarity.
- Updated .gitignore to include *.exe files.

* Enhance arrToRun function in assert_test.go

- Updated arrToRun function to set container type and handle empty data cases, improving robustness.
- Removed re... (continued)

210 of 256 new or added lines in 10 files covered. (82.03%)

8 existing lines in 2 files now uncovered.

1651 of 1921 relevant lines covered (85.94%)

13343.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
87.69
1.61% container_bitmap.go
3
95.6
-2.83% container.go
4
86.67
buffer.go
4
88.62
-1.28% container_array.go
6
78.84
-2.03% container_run.go
8
76.54
0.64% math_or.go
19
82.97
-8.76% roaring.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
78.84
-2.03% container_run.go
4
76.54
0.64% math_or.go
Jobs
ID Job ID Ran Files Coverage
1 15946728502.1 28 Jun 2025 05:55PM UTC 12
85.94
GitHub Action Run
Source Files on build 15946728502
  • Tree
  • List 12
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8f059a7f on github
  • Prev Build on main (#15941256463)
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

© 2025 Coveralls, Inc