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

moonbitlang / core / 6376
92%

Build:
DEFAULT BRANCH: main
Ran 23 Apr 2025 02:14AM UTC
Jobs 1
Files 243
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

23 Apr 2025 02:13AM UTC coverage: 92.961% (-0.1%) from 93.096%
6376

push

github

web-flow
Make hash and sorted map apis consistent (#1976)

* implement hashmap::contains

* rename sorted_map::lookup to find, making it consistent with hashmap

* implement hashmap::elems

* implement hashmap::filter

* implemented fold and fold_with_key

* implemented keys, map and map_with_key

* implemented ingleton and to_array

* implemented sorted_map::union

* added documentation for new public functions

* make fold_with_key tailrecursive

* remove array allocation from filter

* add test for overflow edge case, as suggested in review

* fix formatting and docs

* mitigate potential infinite loop

* pre-allocate array with known size

* rename back to lookup as suggested

* remove union from sorted_map

* functions keys and elems returning Iter instead of Array

* deprecate hashmap:find and introduce lookup

* fix docs

41 of 54 new or added lines in 2 files covered. (75.93%)

5837 of 6279 relevant lines covered (92.96%)

136461.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.11
0.79% immut/hashmap/bucket.mbt
12
75.44
-2.48% immut/hashmap/HAMT.mbt
Jobs
ID Job ID Ran Files Coverage
1 6376.1 23 Apr 2025 02:14AM UTC 244
92.89
GitHub Action Run
Source Files on build 6376
  • Tree
  • List 243
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fd56e9be on github
  • Prev Build on main (#6374)
  • Next Build on main (#6378)
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