Skip to content

Add comprehensive test coverage for DoubleUtils, ArrayUtils, shapes, and parser expression components - #13

Merged
mihxil merged 4 commits into
mainfrom
copilot/analyze-test-coverage
Apr 7, 2026
Merged

Add comprehensive test coverage for DoubleUtils, ArrayUtils, shapes, and parser expression components#13
mihxil merged 4 commits into
mainfrom
copilot/analyze-test-coverage

Conversation

Copilot AI commented Apr 5, 2026

Copy link
Copy Markdown
Contributor
  • Analyze codebase and identify test coverage gaps
  • Add tests to DoubleUtilsTest: pow10, pow2, pow(int,int), pow(double,int), max, leastSignificantBit, isExactProduct(double,double), isExactProduct(double,BigInteger)
  • Add tests to ArrayUtilsTest: removeTrailingZeros, removeTrailingIf, allEqualTo, determinant2x2, adjugate2x2, cloneMatrix, squareMatrix, toInverseByteArray, toArray, rotate (no-op), shuffle
  • Create RectangularCuboidTest in mihxil-shapes (volume, surfaceArea, vertices, edges, faces, eulerCharacteristic, toString, dimensions, eq)
  • Create LocatedShapeTest in mihxil-shapes (shape, location, toString at origin, toString with offset, equals/hashCode)
  • Improve SphereTest with actual assertions (area, volume, eq, toString)
  • Create ExpressionComponentsTest in mihxil-math-parser (Value, Variable, UnaryOperation, BinaryOperation.reverse, EvaluatedExpression, rpn.Value, rpn.BinaryOperation, AbstractExpression builder methods, AST.toInfix with Variable)
  • Address code review comments (clarified edge case comments, added eq test to RectangularCuboidTest)
  • Remove accidentally committed SVG files and dependency-reduced-pom.xml from the PR; add */dependency-reduced-pom.xml to .gitignore

Copilot AI and others added 3 commits April 5, 2026 23:18
Agent-Logs-Url: https://github.com/mihxil/math/sessions/2884536f-0d76-46f7-bd66-8654d88f71a9

Co-authored-by: mihxil <429477+mihxil@users.noreply.github.com>
…ctangularCuboid, LocatedShape, and parser expression components

Agent-Logs-Url: https://github.com/mihxil/math/sessions/2884536f-0d76-46f7-bd66-8654d88f71a9

Co-authored-by: mihxil <429477+mihxil@users.noreply.github.com>
…gularCuboid eq test

Agent-Logs-Url: https://github.com/mihxil/math/sessions/2884536f-0d76-46f7-bd66-8654d88f71a9

Co-authored-by: mihxil <429477+mihxil@users.noreply.github.com>
@mihxil

mihxil commented Apr 6, 2026

Copy link
Copy Markdown
Owner

Remove all .svg's from this pull request.

@mihxil

mihxil commented Apr 6, 2026

Copy link
Copy Markdown
Owner

Also dependency-reduced-pom.xml should not be added to the repo.

@github-actions

github-actions Bot commented Apr 6, 2026

Copy link
Copy Markdown

Test Results

  156 files    156 suites   2m 48s ⏱️
5 315 tests 5 224 ✅ 91 💤 0 ❌
5 267 runs  5 176 ✅ 91 💤 0 ❌

Results for commit 9377270.

♻️ This comment has been updated with latest results.

@mihxil

mihxil commented Apr 7, 2026

Copy link
Copy Markdown
Owner

@copilot Please remove svgs from pr.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 7, 2026

Copy link
Copy Markdown

Deploying math with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9377270
Status: ✅  Deploy successful!
Preview URL: https://eae01d31.math-4mv.pages.dev
Branch Preview URL: https://copilot-analyze-test-coverag.math-4mv.pages.dev

View logs

Copilot AI commented Apr 7, 2026

Copy link
Copy Markdown
Contributor Author

Remove all .svg's from this pull request.

Done in 9377270 — the SVG modifications have been reverted and the files are no longer part of this PR.

Also dependency-reduced-pom.xml should not be added to the repo.

Done in 9377270dependency-reduced-pom.xml has been removed from the PR and */dependency-reduced-pom.xml has been added to .gitignore to prevent it from being committed again.

@mihxil
mihxil marked this pull request as ready for review April 7, 2026 11:22
@mihxil
mihxil merged commit f34301a into main Apr 7, 2026
3 checks passed
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.

2 participants