test_cases.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef SCATTNLAY_TESTS_TEST_CASES_HPP_
  2. #define SCATTNLAY_TESTS_TEST_CASES_HPP_
  3. //
  4. //
  5. #include <vector>
  6. #include <tuple>
  7. #include <string>
  8. #include <complex>
  9. std::vector< std::tuple< double, std::complex<double>, std::string > >
  10. parameters_bulk_sphere
  11. {
  12. // x, {Re(m), Im(m)}, test_name
  13. {0.099, {0.75,0}, "Hong Du testcase:a"},
  14. {0.101, {0.75,0}, "Hong Du testcase:b"},
  15. {10, {0.75,0}, "Hong Du testcase:c"},
  16. {100, {1.33,1e-5}, "Hong Du testcase:e"},
  17. {0.055, {1.5, 1}, "Hong Du testcase:g"},
  18. {0.056, {1.5, 1}, "Hong Du testcase:h"},
  19. {100, {1.5, 1}, "Hong Du testcase:i"},
  20. {1, {10, 10}, "Hong Du testcase:k"},
  21. {1000, {0.75,0}, "Hong Du testcase:d"},
  22. //{10000, {1.33,1e-5}, "Hong Du testcase:f"}, // passes but takes too long
  23. //{100, {10, 10,}, "Hong Du testcase:l"}, // fails in any precision, TODO fixme
  24. //{10000, {1.5, 1}, "Hong Du testcase:j"},
  25. //{10000, {10, 10}, "Hong Du testcase:m"},
  26. #ifdef MULTI_PRECISION
  27. //{10000, {1.33,1e-5}, "Hong Du testcase:f"}, // passes but takes too long
  28. //{100, {10, 10,}, "Hong Du testcase:l"}, // fails in any precision
  29. //{10000, {1.5, 1}, "Hong Du testcase:j"},
  30. //{10000, {10, 10}, "Hong Du testcase:m"},
  31. #endif
  32. };
  33. #endif //SCATTNLAY_TESTS_TEST_CASES_HPP_