import { assertActualIsEqualToExpected } from './assertActualIsEqualToExpected' ; import { assertActualIsFalse } from './assertActualIsFalse' ; import { assertActualIsFalsy } from './assertActualIsFalsy' ; import { assertActualIsIdenticalToExpected } from './assertActualIsIdenticalToExpected' ; import { assertActualIsNotEqualToExpected } from './assertActualIsNotEqualToExpected' ; import { assertActualIsNotFalse } from './assertActualIsNotFalse' ; import { assertActualIsNotFalsy } from './assertActualIsNotFalsy' ; import { assertActualIsNotIdenticalToExpected } from './assertActualIsNotIdenticalToExpected' ; import { assertActualIsNotNull } from './assertActualIsNotNull' ; import { assertActualIsNotOfType } from './assertActualIsNotOfType' ; import { assertActualIsNotSameJsonAsExpected } from './assertActualIsNotSameJsonAsExpected' ; import { assertActualIsNotTrue } from './assertActualIsNotTrue' ; import { assertActualIsNotTruthy } from './assertActualIsNotTruthy' ; import { assertActualIsNotUndefined } from './assertActualIsNotUndefined' ; import { assertActualIsNull } from './assertActualIsNull' ; import { assertActualIsOfType } from './assertActualIsOfType' ; import { assertActualIsSameJsonAsExpected } from './assertActualIsSameJsonAsExpected' ; import { assertActualIsTrue } from './assertActualIsTrue' ; import { assertActualIsTruthy } from './assertActualIsTruthy' ; import { assertActualIsUndefined } from './assertActualIsUndefined' ; import { CommonAssertions } from './CommonAssertions' ; import { report } from '../../report' ; const getAssertionsForAny = function < TAny > ( actual ) : CommonAssertions < TAny > { return { equalTo ( expected ) { report ( assertActualIsEqualToExpected ( actual , expected ) ) ; } , identicalTo ( expected ) { report ( assertActualIsIdenticalToExpected ( actual , expected ) ) ; } , sameJsonAs ( expected ) { report ( assertActualIsSameJsonAsExpected ( actual , expected ) ) ; } , falsy ( ) { report ( assertActualIsFalsy ( actual ) ) ; } , truthy ( ) { report ( assertActualIsTruthy ( actual ) ) ; } , null ( ) { report ( assertActualIsNull ( actual ) ) ; } , undefined ( ) { report ( assertActualIsUndefined ( actual ) ) ; } , false ( ) { report ( assertActualIsFalse ( actual ) ) ; } , true ( ) { report ( assertActualIsTrue ( actual ) ) ; } , ofType ( expected ) { report ( assertActualIsOfType ( actual , expected ) ) ; } } ; } ; const getNegatedAssertionsForAny = function < TAny > ( actual ) : CommonAssertions < TAny > { return { equalTo ( expected ) { report ( assertActualIsNotEqualToExpected ( actual , expected ) ) ; } , identicalTo ( expected ) { report ( assertActualIsNotIdenticalToExpected ( actual , expected ) ) ; } , sameJsonAs ( expected ) { report ( assertActualIsNotSameJsonAsExpected ( actual , expected ) ) ; } , falsy ( ) { report ( assertActualIsNotFalsy ( actual ) ) ; } , truthy ( ) { report ( assertActualIsNotTruthy ( actual ) ) ; } , null ( ) { report ( assertActualIsNotNull ( actual ) ) ; } , undefined ( ) { report ( assertActualIsNotUndefined ( actual ) ) ; } , false ( ) { report ( assertActualIsNotFalse ( actual ) ) ; } , true ( ) { report ( assertActualIsNotTrue ( actual ) ) ; } , ofType ( expected ) { report ( assertActualIsNotOfType ( actual , expected ) ) ; } } ; } ; export { getAssertionsForAny , getNegatedAssertionsForAny } ;