test.h 409 B

1234567891011121314151617181920212223
  1. #ifndef _TEST_H_
  2. #define _TEST_H_
  3. #pragma once
  4. #include <vector>
  5. #pragma pack(1)
  6. struct CompareResult {
  7. double highest_similarity;
  8. double average_similarity;
  9. std::vector<std::vector<double>> full_offsets;
  10. std::vector<std::vector<double>> fragment_offsets;
  11. ~CompareResult() {
  12. full_offsets.clear();
  13. fragment_offsets.clear();
  14. }
  15. };
  16. #pragma pack()
  17. #endif // _TEST_H_