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

moonbitlang / core / 1289
89%
main: 97%

Build:
Build:
LAST BUILD BRANCH: hongbo/consolidate-strconv-tests
DEFAULT BRANCH: main
Ran 22 Sep 2025 04:00PM UTC
Jobs 1
Files 256
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

22 Sep 2025 03:59PM UTC coverage: 89.443% (-0.2%) from 89.604%
1289

Pull #2755

github

bobzhang
Add comprehensive tests for Array::partition function

Added extensive test coverage for the internal partition function used by quicksort:
- Basic partitioning tests with middle pivot and already partitioned arrays
- Edge case tests for empty ranges, single elements, and two-element arrays
- Tests with duplicate values to ensure stable partitioning
- Tests with different pivot positions (first, last, sub-range)
- Special cases: all equal elements and reverse sorted arrays

These tests verify:
- Correct relative position returns (validates previous bug fix)
- Proper partitioning invariant (elements < pivot on left, >= pivot on right)
- Accurate 'partitioned' flag indicating if rearrangement occurred
- Boundary conditions and sub-range operations

All 6 new test blocks pass successfully (215 tests in array package)
Pull Request #2755: hongbo/factor out slice

70 of 91 new or added lines in 2 files covered. (76.92%)

1 existing line in 1 file now uncovered.

9294 of 10391 relevant lines covered (89.44%)

198519.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
89.29
-10.71% array/sort.mbt
12
81.94
-13.44% array/sort_by.mbt

Uncovered Existing Lines

Lines Coverage ∆ File
1
81.94
-13.44% array/sort_by.mbt
Jobs
ID Job ID Ran Files Coverage
1 1289.1 22 Sep 2025 04:00PM UTC 257
89.47
GitHub Action Run
Source Files on build 1289
  • Tree
  • List 256
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2755
  • PR Base - main (#1286)
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