-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc(fuzzer): Support custom result verifier with compare() API in wi…
…ndow fuzzer (#12148) Summary: Pull Request resolved: #12148 The custom result verifiers of some functions provides a compare() API that can be used to compare the expected and actual results after certain transformation. This is needed for functions like `avg(interval) -> interval` because the result of this function can have a small precision error that should be tolerated. However, the window fuzzer used to only support the verify() API of custom result verifiers. This diff makes the window fuzzer to use the compare() API as well when available. Reviewed By: kgpai Differential Revision: D68507422 fbshipit-source-id: cae34c2936335e5639e5ec7af00fa80c36c39bd6
- Loading branch information
1 parent
a1ef29d
commit 419de77
Showing
6 changed files
with
150 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters