graphql-engine/server/src-test/Control/Monad
Samir Talwar f48c882521 server: Share tests between CircularT and MemoizeT.
This abstracts `CircularT`'s test cases to work against "any" memoizer, and then runs them against `MemoizeT` as well.

Surprisingly (or not), this works without issue; `MemoizeT` passes all tests with a couple of extra instances.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5780
GitOrigin-RevId: 461880caf9220dc3f52d622a22e8b8bcd594e404
2022-09-08 19:38:49 +00:00
..
CircularSpec.hs server: Share tests between CircularT and MemoizeT. 2022-09-08 19:38:49 +00:00
MemoizationSpecDefinition.hs server: Share tests between CircularT and MemoizeT. 2022-09-08 19:38:49 +00:00
MemoizeSpec.hs server: Share tests between CircularT and MemoizeT. 2022-09-08 19:38:49 +00:00
TimeLimit.hs server: Share tests between CircularT and MemoizeT. 2022-09-08 19:38:49 +00:00