| 545 | return false; |
| 546 | } |
| 547 | TEST(Encode_, test1) |
| 548 | { |
| 549 | bool test_val = false; |
| 550 | try |
| 551 | { |
| 552 | test_val = test_angle_encoding(); |
| 553 | test_val &= test_efficient_sparse_encoding(); |
| 554 | test_val &= test_ds_quantum_state_preparation_encoding(); |
| 555 | test_val &= test_Amplitude_encoding1(); |
| 556 | test_val &= test_Amplitude_encoding2(); |
| 557 | test_val &= test_Amplitude_encoding3(); |
| 558 | test_val &= test_Amplitude_encoding4(); |
| 559 | test_val &= test_dc_Amplitude_encoding(); |
| 560 | test_val &= test_bid_Amplitude_encoding(); |
| 561 | test_val &= test_dense_encoding(); |
| 562 | test_val &= test_basic_encoding(); |
| 563 | test_val &= test_iqp_Amplitude_encoding(); |
| 564 | test_val &= test_sparse_isometry_encoding(); |
| 565 | test_val &= test_schmidt_encoding(); |
| 566 | test_val&test_mps_encoding(); |
| 567 | } |
| 568 | catch (const std::exception& e) |
| 569 | { |
| 570 | cout << "Got a exception: " << e.what() << endl; |
| 571 | } |
| 572 | catch (...) |
| 573 | { |
| 574 | cout << "Got an unknow exception: " << endl; |
| 575 | } |
| 576 | ASSERT_TRUE(test_val); |
| 577 | } |
nothing calls this directly
no test coverage detected