/** * A generator of maps of the specified size. * * @tsplus static effect/core/testing/Gen.Ops mapOfN */ export function mapOfN( n: number, key: Gen, value: Gen ): Gen> { return key.setOfN(n).zipWith(value.listOfN(n), (k, v) => HashMap.from(k.zip(v))) }