Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Zoltan2_Tests.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Zoltan2: A package of combinatorial algorithms for scientific computing
4 //
5 // Copyright 2012 NTESS and the Zoltan2 contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 //
11 // Zoltan2_Tests.h
12 // Zoltan2TestDriver
13 //
14 // Created by Bradley Davidson on 7/6/15.
15 // Copyright (c) 2015 TXCorp. All rights reserved.
16 //
17 
18 #ifndef Zoltan2TestDriver_Zoltan2_Tests_h
19 #define Zoltan2TestDriver_Zoltan2_Tests_h
20 
22 #include <string>
23 using std::string;
24 Zoltan2Test * getZoltan2Test(const string &testType)
25 {
26  if(testType.find("MeshCoordinateTest") != string::npos)
27  {
28  return new MeshCoordinateTest();
29  }
30 
31  return nullptr;
32 }
33 #endif
Zoltan2Test * getZoltan2Test(const string &testType)