Skip to content

tests(library/math): stubs complete coverage for greatestCommonDivisor #532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

bjacobgordon
Copy link
Collaborator

@bjacobgordon bjacobgordon commented Jul 16, 2025

@bjacobgordon bjacobgordon self-assigned this Jul 16, 2025
@github-actions github-actions bot added the tests label Jul 16, 2025
@bjacobgordon bjacobgordon force-pushed the tests(library/math)--stubs-coverage-for-`greatestCommonDivisor` branch from 671a6fb to 3155676 Compare July 16, 2025 19:08
bjacobgordon added a commit to bjacobgordon/shark-ui that referenced this pull request Jul 16, 2025
…stCommonDivisor` (nod-ai#533)

- establishes a few key precedents for testing functional units:
    - differentiate between sad and happy paths (in that order)
    - for sad paths, make it apparent as to:
        - which failures the unit is expected to define (errors, error messages, etc.)
        - which it's expected to delegate (dependence on other units)
    - end with the most obvious (and least interesting) best-case scenario, i.e. "gets the correct answer"
- facilitates nod-ai#532
@bjacobgordon bjacobgordon force-pushed the tests(library/math)--stubs-coverage-for-`greatestCommonDivisor` branch 3 times, most recently from 3a42c6f to 2c051aa Compare July 16, 2025 19:42
@bjacobgordon bjacobgordon force-pushed the tests(library/math)--stubs-coverage-for-`greatestCommonDivisor` branch from 2c051aa to bf18579 Compare July 16, 2025 19:59
@bjacobgordon bjacobgordon merged commit 759e279 into nod-ai:integration Jul 16, 2025
5 checks passed
@bjacobgordon bjacobgordon deleted the tests(library/math)--stubs-coverage-for-`greatestCommonDivisor` branch July 16, 2025 20:04
bjacobgordon added a commit that referenced this pull request Jul 16, 2025
…monDivisor` (#534)

- builds on #532 by adding simplified template for testing suite of a functional unit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant