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

wegamekinglc / Derivatives-Algorithms-Lib / 26683256782
79%

Build:
DEFAULT BRANCH: master
Ran 30 May 2026 12:05PM UTC
Jobs 1
Files 191
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

30 May 2026 12:00PM UTC coverage: 77.94% (+2.8%) from 75.159%
26683256782

push

github

web-flow
test: expand script engine unit test coverage (#73)

* test: expand script engine unit test coverage

The script engine's domain value types and const-folding visitors had
no direct test coverage, and the parser/evaluator suites exercised only
a narrow slice of operators. This adds focused coverage so regressions
in these areas are caught.

- test_domain.cpp: 54 tests for Bound_/Interval_/Domain_ value semantics
  (infinities, degenerate intervals, set operations, fuzzy-zero shortcuts)
- test_constprocessor.cpp + test_constcondprocessor.cpp: 21 tests for
  constant folding/propagation and always-true/false IF collapsing
- test_parser.cpp: +23 tests for precedence, unary minus, ^, MIN/MAX,
  comparisons, AND/OR, and malformed-input throw paths
- test_evaluator.cpp: +21 tests for arithmetic, pow, min/max, IF/ELSE
  branch selection, comparisons, and variable assignment

Full suite: 524 -> 643 tests, no regressions.

* fix: resolve most-vexing-parse in script domain test

Interval_ i(Bound_(Bound_::minusInfinity_), Bound_(Bound_::plusInfinity_));
was parsed by clang and MSVC as a function declaration whose parameters
carry qualified names, breaking the clang-18/19 and msvc CI builds while
gcc accepted it. Switch to brace-initialization to disambiguate the
declaration as an object construction.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test: address Copilot review feedback on script tests

- test_evaluator.cpp: iterate VarNames with size_t instead of a signed int
  to avoid signed/unsigned comparison against size().
- test_parser.cpp: the parser encodes < / > as the same NodeSup_ (and
  <= / >= as the same NodeSupEqual_), differing only by swapped NodeSub_
  operands. The condition tests previously only checked the wrapper type,
  so they could not tell < from >. Add an AssertCmpSubOrder helper and
  assert the inner subtraction operand order for the <, <=, and AND tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <norepl... (continued)

5063 of 6496 relevant lines covered (77.94%)

3835483.23 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
91.7
24.36% dal-cpp/dal/script/visitor/domain.hpp
Jobs
ID Job ID Ran Files Coverage
1 26683256782.1 30 May 2026 12:05PM UTC 191
77.94
GitHub Action Run
Source Files on build 26683256782
  • Tree
  • List 191
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26683256782
  • 34d198f9 on github
  • Prev Build on master (#26665567163)
  • Next Build on master (#26686862662)
  • Delete
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