1 /***************************************************************************** 2 3 TestHelperNormal.h 4 By Laurent de Soras 5 6 --- Legal stuff --- 7 8 This program is free software. It comes without any warranty, to 9 the extent permitted by applicable law. You can redistribute it 10 and/or modify it under the terms of the Do What The Fuck You Want 11 To Public License, Version 2, as published by Sam Hocevar. See 12 http://sam.zoy.org/wtfpl/COPYING for more details. 13 14 *Tab=3***********************************************************************/ 15 16 17 18 #if ! defined (ffft_test_TestHelperNormal_HEADER_INCLUDED) 19 #define ffft_test_TestHelperNormal_HEADER_INCLUDED 20 21 #if defined (_MSC_VER) 22 #pragma once 23 #pragma warning (4 : 4250) // "Inherits via dominance." 24 #endif 25 26 27 28 /*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ 29 30 #include "ffft/FFTReal.h" 31 32 33 34 namespace ffft 35 { 36 namespace test 37 { 38 39 40 41 template <class DT> 42 class TestHelperNormal 43 { 44 45 /*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ 46 47 public: 48 49 typedef DT DataType; 50 typedef FFTReal <DataType> FftType; 51 52 static void perform_test_accuracy (int &ret_val); 53 static void perform_test_speed (int &ret_val); 54 55 56 57 /*\\\ PROTECTED \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ 58 59 protected: 60 61 62 63 /*\\\ PRIVATE \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ 64 65 private: 66 67 68 69 /*\\\ FORBIDDEN MEMBER FUNCTIONS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ 70 71 private: 72 73 TestHelperNormal (); 74 TestHelperNormal (const TestHelperNormal &other); 75 TestHelperNormal & 76 operator = (const TestHelperNormal &other); 77 bool operator == (const TestHelperNormal &other); 78 bool operator != (const TestHelperNormal &other); 79 80 }; // class TestHelperNormal 81 82 83 84 } // namespace test 85 } // namespace ffft 86 87 88 89 #include "ffft/test/TestHelperNormal.hpp" 90 91 92 93 #endif // ffft_test_TestHelperNormal_HEADER_INCLUDED 94 95 96 97 /*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ 98