Skip to content

support multiple references #47

Description

@johnnychen94

This can be useful in two cases:

  • version compatibility: with dependency version changes, the actual results might change as well. Since a simple update of reference will break tests for old dependency versions, the best strategy is to hold two references there and let the test pass as long as the actual result matches one of them (e.g., the workaround update references for FixedPointNumbers v0.7 #49 for correct the rendermode for txt images #46 doesn't consider this).
  • random behavior: to suit the case when the actual result is not deterministic (e.g., actual = first(randperm(3)))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions