TestAlgorithm.cxx
Go to the documentation of this file.
1 /*===========================================================================================================
2  *
3  * SHA-L - Simple Hybesis Algorithm Logger
4  *
5  * Copyright (c) Michael Jeulin-Lagarrigue
6  *
7  * Licensed under the MIT License, you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * https://github.com/michael-jeulinl/Simple-Hybesis-Algorithms-Logger/blob/master/LICENSE
11  *
12  * Unless required by applicable law or agreed to in writing, software distributed under the License is
13  * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and limitations under the License.
15  *
16  * The above copyright notice and this permission notice shall be included in all copies or
17  * substantial portions of the Software.
18  *
19  *=========================================================================================================*/
20 #include <gtest/gtest.h>
21 #include <algorithm.hxx>
22 
23 using namespace SHA_Logger;
24 
25 #ifndef DOXYGEN_SKIP
26 namespace {
27  class Algo_Quick
28  {
29  public:
30  static const std::string GetAuthor() { return "Michael Jeulin-L"; }
31  static const std::string GetDoc() { return "Documentation."; }
32  static const std::string GetModule() { return "Sort"; }
33  static const std::string GetName() { return "QuickSort"; }
34  static const std::string GetVersion() { return "1.0"; }
35  };
36 }
37 #endif /* DOXYGEN_SKIP */
38 
39 // Test TestAlgo Construction
40 TEST(TestAlgo_Traits, build)
41 {
42  // @todo Passing arguement as: Algo_Quick::Build(std::cout, x1, x2...)
43  // { Algo_Traits<Algo_Quick>::Build() };
44  //Algo_Traits<Algo_Quick>::Build(std::cout, OpGetAll);
45 }
TEST(TestAlgo_Traits, build)