Skip to content

Commit 95d1832

Browse files
removed test suffix
they cannot really be represented with only alphanumericals
1 parent 79a62f4 commit 95d1832

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

test/algorithms/test_statepreparation.cpp

+1-11
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,7 @@ INSTANTIATE_TEST_SUITE_P(
2525
std::complex{-1 / std::sqrt(2)}},
2626
std::vector<std::complex<double>>{
2727
0, std::complex{1 / std::sqrt(2)},
28-
std::complex{-1 / std::sqrt(2)}, 0}),
29-
[](const testing::TestParamInfo<StatePreparation::ParamType>& inf) {
30-
const std::vector<std::complex<double>> vector = inf.param;
31-
std::stringstream ss{};
32-
ss << "State Preparation with amplitudes: [";
33-
for (const auto cmplx : vector) {
34-
ss << ", (" + std::to_string(cmplx.real()) + "," +
35-
std::to_string(cmplx.imag()) + ")";
36-
}
37-
return ss.str();
38-
});
28+
std::complex{-1 / std::sqrt(2)}, 0}));
3929

4030
TEST_P(StatePreparation, StatePreparationCircuitSimulation) {
4131
ASSERT_NO_THROW({ auto qc = qc::createStatePreparationCircuit(amplitudes); });

0 commit comments

Comments
 (0)