| 12 | using namespace cudaq; |
| 13 | |
| 14 | CUDAQ_TEST(sample_resultTester, checkConstruction) { |
| 15 | ExecutionResult r{CountsDictionary{{"0", 400}, {"1", 600}}}; |
| 16 | cudaq::sample_result mc(r); |
| 17 | EXPECT_EQ(2, mc.size()); |
| 18 | } |
| 19 | |
| 20 | CUDAQ_TEST(MeasureCountsTester, checkProbability) { |
| 21 | ExecutionResult r{CountsDictionary{{"0", 400}, {"1", 600}}}; |
nothing calls this directly
no test coverage detected