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

moonbitlang / core / 2373

13 Jan 2026 01:58AM UTC coverage: 97.422% (-0.02%) from 97.441%
2373

push

github

bobzhang
Refactor deque operations to use range-based for loops for improved readability

- Updated the `insert`, `append`, and `chunks` methods to utilize range-based for loops instead of traditional for loops with index counters.
- Enhanced the `append` method to ensure proper capacity growth when appending large deques.
- Added tests to verify the behavior of appending and inserting elements, including edge cases with empty and folded buffers.
- Ensured that all tests pass and maintain expected functionality after refactoring.

17 of 21 new or added lines in 6 files covered. (80.95%)

1 existing line in 1 file now uncovered.

10922 of 11211 relevant lines covered (97.42%)

430342.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.69
/debug/printer.mbt


Source Not Available

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