erikzenker / hsm

Finite state machine library based on the boost hana meta programming library. It follows the principles of the boost msm and boost sml libraries, but tries to reduce own complex meta programming code to a minimum.
MIT License
187 stars 18 forks source link

feat: Internal transition are recognized also when no external transi… #185

Closed erikzenker closed 1 year ago

erikzenker commented 1 year ago

…tion is present

codecov-commenter commented 1 year ago

Codecov Report

Merging #185 (f0a106b) into master (09d66e4) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #185      +/-   ##
==========================================
+ Coverage   97.81%   97.83%   +0.02%     
==========================================
  Files          82       82              
  Lines        1145     1156      +11     
==========================================
+ Hits         1120     1131      +11     
  Misses         25       25              
Impacted Files Coverage Δ
include/hsm/details/collect_states.h 100.00% <ø> (ø)
...de/hsm/details/flatten_internal_transition_table.h 100.00% <ø> (ø)
include/hsm/details/flatten_transition_table.h 100.00% <ø> (ø)
test/unit/collect_events_tests.cpp 100.00% <ø> (ø)
test/integration/internal_transition.cpp 89.74% <100.00%> (+0.85%) :arrow_up:
test/unit/collect_states_tests.cpp 100.00% <100.00%> (ø)
...t/unit/flatten_internal_transition_table_tests.cpp 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more