Skip to content
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

Fix Issue #25 #34

Closed
wants to merge 16 commits into from
Closed

Fix Issue #25 #34

wants to merge 16 commits into from

Conversation

dmullis
Copy link
Collaborator

@dmullis dmullis commented Jul 2, 2024

Besides a fix for Issue #25, this extends the current regression tests.

To work through false positives in diffing of SVG file regression test output, generate a visual difference file as well. For ease of implementation, it proved convenient to package this within HTML wrapper files.

This PR is a direct successor of "for-blampe-7.1" -- #33, so if this is applied the other can be closed.

dmullis added 16 commits June 21, 2024 23:39
As shown in Firefox by examples/*.svg.
Surface examples/*.svg files in git-status.
Bump required Go version to 1.21 for access to functions min() and max().
Regression Testing
---
Ran ./pre-push: SVG output of three files changed.  Log excerpt:

    === RUN   TestExamples
        ...
        examples-regression_test.go:83: Failed to verify contents of 3 .svg files
        examples-regression_test.go:130: Writing new SVG and HTML delta files into _examples_new/
        examples-regression_test.go:149: 	complicated.html
        examples-regression_test.go:149: 	regression.html
        examples-regression_test.go:149: 	small-grids.html
        ...

Visual inspection of .html files in browser shows fix effective in
_examples_new/small-grids.{html,svg}, and no visually apparent change
in the other two sets of results.
@dmullis dmullis linked an issue Jul 2, 2024 that may be closed by this pull request
@dmullis dmullis closed this Jul 15, 2024
@dmullis dmullis deleted the for-blampe-7.2 branch July 15, 2024 01:09
@dmullis dmullis restored the for-blampe-7.2 branch July 15, 2024 01:14
@dmullis
Copy link
Collaborator Author

dmullis commented Jul 15, 2024

Mistakenly closed.

@dmullis dmullis reopened this Jul 15, 2024
@dmullis dmullis self-assigned this Jul 17, 2024
@dmullis dmullis closed this Jul 17, 2024
@dmullis
Copy link
Collaborator Author

dmullis commented Jul 17, 2024

Will extend GitHub Action testing, and submit a new PR.

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.

Rendering in close corners
1 participant