Matchers for TextMap
The definitions in this module help you write unit tests using the motoko-matchers
library.
public func textMapTestable<A>(aTestable : Testable<A>) : Testable<TextMap.TextMap<A>>
public func textMap<A>(aTestable : Testable<A>, item : TextMap.TextMap<A>) : TestableItem<TextMap.TextMap<A>>
public func containsExactly<A>(aTestable : Testable<A>, xs : [(Text, A)]) : Matcher<TextMap.TextMap<A>>
public func containsElement<A>(key : Text, val : TestableItem<A>) : Matcher<TextMap.TextMap<A>>