Validate index API.

Test whether two indexed values are equal.

If two values are different, then exception would be thrown.

https://github.com/samchon/nestia-template/blob/master/src/test/features/api/bbs/test_api_bbs_article_index_search.ts
  • Parameters

    • title: string

      Title of error message when different

    Returns <Solution extends IEntity<any>>(
        expected: Solution[],
    ) => <Summary extends IEntity<any>>(
        gotten: Summary[],
        trace?: boolean,
    ) => void

    Currying function