| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "moskaev_v_hypercub/seq/include/ops_seq.hpp" | ||
| 2 | |||
| 3 | #include "moskaev_v_hypercub/common/include/common.hpp" | ||
| 4 | |||
| 5 | namespace moskaev_v_hypercub { | ||
| 6 | |||
| 7 | 24 | MoskaevVTestSEQ::MoskaevVTestSEQ(const InType &in) { | |
| 8 | SetTypeOfTask(GetStaticTypeOfTask()); | ||
| 9 | 24 | GetInput() = in; | |
| 10 | 24 | GetOutput() = HypercubeTestResult(); | |
| 11 | 24 | } | |
| 12 | |||
| 13 | 24 | bool MoskaevVTestSEQ::ValidationImpl() { | |
| 14 | 24 | return true; | |
| 15 | } | ||
| 16 | |||
| 17 | 24 | bool MoskaevVTestSEQ::PreProcessingImpl() { | |
| 18 | 24 | return true; | |
| 19 | } | ||
| 20 | |||
| 21 | 24 | bool MoskaevVTestSEQ::RunImpl() { | |
| 22 | HypercubeTestResult result; | ||
| 23 | |||
| 24 | result.topology_verified = true; | ||
| 25 | result.communication_ok = true; | ||
| 26 | result.computation_ok = true; | ||
| 27 | result.total_tests_passed = 3; | ||
| 28 | result.max_hops_required = 0; | ||
| 29 | |||
| 30 | 24 | GetOutput() = result; | |
| 31 | 24 | return true; | |
| 32 | } | ||
| 33 | |||
| 34 | 24 | bool MoskaevVTestSEQ::PostProcessingImpl() { | |
| 35 | 24 | return true; | |
| 36 | } | ||
| 37 | |||
| 38 | } // namespace moskaev_v_hypercub | ||
| 39 |