Skip to content

Fix three silent assertions missing @test#18

Open
utensil wants to merge 1 commit intomasterfrom
fix/16-missing-test-and-paper-gaps
Open

Fix three silent assertions missing @test#18
utensil wants to merge 1 commit intomasterfrom
fix/16-missing-test-and-paper-gaps

Conversation

@utensil
Copy link
Copy Markdown
Member

@utensil utensil commented Apr 3, 2026

Closes #16

Lines 154, 215, 284 in test/runtests.jl had bare equality expressions that were never evaluated as tests. Adding @test to each:

  • A[r] == A.grade(r) == A.get_grade(r) (grade API consistency)
  • Ar ⨼ Br == Ar ⨽ Br == (Ar * Br).scalar() (equal-grade inner products)
  • Ar ∧ (Bs ∧ Ct) == (Ar * Bs * Ct)[r + s + t] (associativity of wedge w/ grade selection)

Also updated the summary comment to reference #14 and #15 for the remaining broken identities.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.43%. Comparing base (5b9a101) to head (0c976ec).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   80.43%   80.43%           
=======================================
  Files           4        4           
  Lines          92       92           
=======================================
  Hits           74       74           
  Misses         18       18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Lines 154, 215, 284 had bare equality expressions that never ran as tests.
Also update the summary comment to reference issues #14 and #15.

Closes #16
@lodyai lodyai bot force-pushed the fix/16-missing-test-and-paper-gaps branch from d639034 to 0c976ec Compare April 3, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more tests from arXiv:1205.5935

1 participant