Skip to content

Commit

Permalink
🐛 Add debug output to failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ystade committed Jun 8, 2024
1 parent ca320ac commit 8dd7eb1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/cliffordsynthesis/test_synthesis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,11 @@ TEST(HeuristicTest, basic) {
config.heuristic = true;
config.splitSize = 1;
config.target = TargetMetric::Depth;
auto synth = CliffordSynthesizer(qc);
std::cout << "Create CliffordSynthesizer" << std::endl;
auto synth = CliffordSynthesizer(qc);
std::cout << "Synthesize" << std::endl;
synth.synthesize(config);
std::cout << "Get results" << std::endl;
EXPECT_EQ(synth.getResults().getDepth(), 2);
}

Expand Down

0 comments on commit 8dd7eb1

Please sign in to comment.