Skip to content

[analysis][NFC] Refactor lattice unit tests - #6065

Merged
tlively merged 1 commit into
mainfrom
refactor-lattice-gtest
Nov 1, 2023
Merged

[analysis][NFC] Refactor lattice unit tests#6065
tlively merged 1 commit into
mainfrom
refactor-lattice-gtest

Conversation

@tlively

Copy link
Copy Markdown
Member

Many of the lattice tests were essentially copy-pasted from one lattice to the
next because they all tested isomorphic subsets of the various lattices,
specifically in the shape of a diamond. Refactor the code so that all lattices
that have tests of this shape use the same utility test functions.

@tlively

tlively commented Nov 1, 2023

Copy link
Copy Markdown
MemberAuthor

Merge activity

  • Nov 1, 1:15 PM: @tlively started a stack merge that includes this pull request via Graphite.
  • Nov 1, 1:16 PM: Graphite rebased this pull request as part of a merge.
  • Nov 1, 2:09 PM: @tlively merged this pull request with Graphite.

Base automatically changed from valtype-lattice to mainNovember 1, 2023 17:15
Many of the lattice tests were essentially copy-pasted from one lattice to the
next because they all tested isomorphic subsets of the various lattices,
specifically in the shape of a diamond. Refactor the code so that all lattices
that have tests of this shape use the same utility test functions.
@tlively
tlivelyforce-pushed the refactor-lattice-gtest branch from f65d8a0 to 3e6b7ddCompareNovember 1, 2023 17:16
@tlively
tlively merged commit 5618d21 into mainNov 1, 2023
@tlively
tlively deleted the refactor-lattice-gtest branch November 1, 2023 18:09
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
Many of the lattice tests were essentially copy-pasted from one lattice to the
next because they all tested isomorphic subsets of the various lattices,
specifically in the shape of a diamond. Refactor the code so that all lattices
that have tests of this shape use the same utility test functions.
Sign up for freeto 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

@tlively@kripken