Zoltan2
Loading...
Searching...
No Matches
Zoltan2_TestInterface.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_TestInterface.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_TestInterface_h
19#define Zoltan2TestDriver_Zoltan2_TestInterface_h
20
21#include <Zoltan2_config.h>
23#include <UserInputForTests.hpp>
24#include <Teuchos_DefaultComm.hpp>
25
32using Teuchos::Comm;
33using Teuchos::RCP;
34using Teuchos::ParameterList;
35
37
38public:
39
42 virtual ~Zoltan2Test() {};
43
48 virtual void Run(const ParameterList &params,const RCP<const Teuchos::Comm<int> > & comm) = 0;
49
52 virtual bool didPass() = 0;
53
54};
55
56#endif
Generate input for testing purposes.
common code used by tests
virtual bool didPass()=0
Did pass?
virtual ~Zoltan2Test()
Destructor.
virtual void Run(const ParameterList &params, const RCP< const Teuchos::Comm< int > > &comm)=0