Skip to content

Commit a35288e

Browse files
authored
Merge pull request #834 from mhucka/mhucka-fix-deprecated-tests
Replace deprecated INSTANTIATE_TEST_CASE_P
2 parents e3e88a9 + 188a2bd commit a35288e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_quantum/core/src/util_qsim_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ TEST_P(TwoTermSampledExpectationFixture, CorrectnessTest) {
103103
}
104104

105105
// clang-format off
106-
INSTANTIATE_TEST_CASE_P(
106+
INSTANTIATE_TEST_SUITE_P(
107107
SingleTermSampledExpectationTests, TwoTermSampledExpectationFixture,
108108
::testing::Values(std::make_tuple("ZZ", 0.0),
109109
std::make_tuple("ZX", 0.1234),
@@ -168,7 +168,7 @@ TEST_P(TwoTermExpectationFixture, CorrectnessTest) {
168168
}
169169

170170
// clang-format off
171-
INSTANTIATE_TEST_CASE_P(
171+
INSTANTIATE_TEST_SUITE_P(
172172
SingleTermExpectationTests, TwoTermExpectationFixture,
173173
::testing::Values(std::make_tuple("ZZ", 0.0),
174174
std::make_tuple("ZX", 0.1234),

0 commit comments

Comments
 (0)