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

fuzzing: empty RLum.Data.Image #492

Closed
mcol opened this issue Nov 28, 2024 · 0 comments · Fixed by #493
Closed

fuzzing: empty RLum.Data.Image #492

mcol opened this issue Nov 28, 2024 · 0 comments · Fixed by #493
Labels
Milestone

Comments

@mcol
Copy link
Contributor

mcol commented Nov 28, 2024

This script:

what <- set_RLum("RLum.Data.Image")
fuzz(funs, what, ignore.patterns = NULL, ignore.warnings = TRUE)

Produces:

	🚨   CAUGHT BY THE FUZZ!   🚨

FAIL: merge_RLum.Analysis ( RLum.Data.Image )
    NA/NaN argument

FAIL: merge_RLum.Data.Curve ( RLum.Data.Image )
    NA/NaN argument

FAIL: merge_RLum.Data.Spectrum ( RLum.Data.Image )
    NA/NaN argument

FAIL: plot_RLum ( RLum.Data.Image )
    NA/NaN argument

FAIL: plot_RLum.Data.Image ( RLum.Data.Image )
    NA/NaN argument

FAIL: trim_RLum.Data ( RLum.Data.Image )
    NA/NaN argument

FAIL: view ( RLum.Data.Image )
    invalid 'x' argument

FAIL: write_R2TIFF ( RLum.Data.Image )
    image must be a matrix or an array of two or three dimensions

Part of #439.

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 a pull request may close this issue.

1 participant