Skip to content

Commit

Permalink
pre-derive lattice …
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgk committed Dec 8, 2024
1 parent 4862ff3 commit 8692f11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Modules/RDTs/.jvm/src/test/scala/MembershipSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class MembershipSpec[A: Arbitrary, C[_]: Consensus, D[_]: Consensus](
) extends CommandsARDTs[Membership[A, C, D]] {
// given logger: Logger = Logger(level = Level.Info)

given Lattice[Membership[A, C, D]] = Membership.latticeFromConsensus

override def genInitialState: Gen[State] =
for
numDevices <- Gen.choose(minDevices, maxDevices)
Expand Down

0 comments on commit 8692f11

Please sign in to comment.