import { assertMapIsAtLeastMap } from './assertMapIsAtLeastMap' ; import { assertMapIsAtMostMap } from './assertMapIsAtMostMap' ; import { assertMapIsEmpty } from './assertMapIsEmpty' ; import { assertMapIsNotAtLeastMap } from './assertMapIsNotAtLeastMap' ; import { assertMapIsNotAtMostMap } from './assertMapIsNotAtMostMap' ; import { assertMapIsNotEmpty } from './assertMapIsNotEmpty' ; import { MapAssertions } from './MapAssertions' ; import { report } from '../../report' ; const getAssertionsForMap = function < TKey , TValue > ( actual ) : MapAssertions < TKey , TValue > { return { atLeast ( expected ) { report ( assertMapIsAtLeastMap ( actual , expected ) ) ; } , atMost ( expected ) { report ( assertMapIsAtMostMap ( actual , expected ) ) ; } , empty ( ) { report ( assertMapIsEmpty ( actual ) ) ; } } ; } ; const getNegatedAssertionsForMap = function < TKey , TValue > ( actual ) : MapAssertions < TKey , TValue > { return { atLeast ( expected ) { report ( assertMapIsNotAtLeastMap ( actual , expected ) ) ; } , atMost ( expected ) { report ( assertMapIsNotAtMostMap ( actual , expected ) ) ; } , empty ( ) { report ( assertMapIsNotEmpty ( actual ) ) ; } } ; } ; export { getAssertionsForMap , getNegatedAssertionsForMap } ;