Skip to content

Commit

Permalink
Refactor tests for benchmark metrics (#3183)
Browse files Browse the repository at this point in the history
Summary:

**Context**: Currently, benchmark metric tests conflate whether the metadata consumed by `fetch_trial_data` has multiple time steps with whether the output data should be `MapData`, and don't explicitly address the separate cases of whether or not there is a `BackendSimulator` attached to the metadata. They are also not organized well. These issues will become more pressing when we start to allow `BenchmarkMetric` to consume data with multiple time steps and/or use a backend simulator

**This diff**:
* Organizes those unit tests better
* Adds some more checks

Differential Revision: D67281379
  • Loading branch information
esantorella authored and facebook-github-bot committed Dec 17, 2024
1 parent 5d3da9e commit 7f30d2a
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 174 deletions.
Loading

0 comments on commit 7f30d2a

Please sign in to comment.