#include "header.h"
#include "DiagonalMsg.h"
#include "OneToAllMsg.h"
#include "../scheduling/Clock.h"
#include "Arith.h"
#include "TableBase.h"
#include "Table.h"
#include <queue>
#include "../shell/Shell.h"
Functions | |
void | testArith () |
void | testFibonacci () |
void | testMpiFibonacci () |
void | testUtilsForLoadXplot () |
void | testUtilsForCompareXplot () |
void | testTable () |
void | testGetMsg () |
void | testStats () |
void | testBuiltins () |
void | testBuiltinsProcess () |
void | testMpiBuiltins () |
void testArith | ( | ) |
References Arith::arg1(), Arith::arg2(), Element::data(), Id::destroy(), Arith::getOutput(), Arith::initCinfo(), Id::nextId(), and Arith::process().
Referenced by testBuiltins().
void testBuiltins | ( | ) |
References testArith(), and testTable().
Referenced by nonMpiTests().
void testBuiltinsProcess | ( | ) |
References testGetMsg(), and testStats().
Referenced by processTests().
void testFibonacci | ( | ) |
This test uses the Diagonal Msg and summing in the Arith element to generate a Fibonacci series.
References Finfo::addMsg(), Arith::arg1(), Arith::arg2(), Element::data(), Id::destroy(), Shell::doSetClock(), Shell::doStart(), Eref::element(), Cinfo::findFinfo(), Arith::getOutput(), Clock::initCinfo(), Arith::initCinfo(), Msg::mid(), Id::nextId(), Shell::numNodes(), and DiagonalMsg::setStride().
void testGetMsg | ( | ) |
Tests capacity to send a request for a field value to an object
References Shell::doAddMsg(), Shell::doCopy(), Shell::doCreate(), Shell::doDelete(), Shell::doReinit(), Shell::doSetClock(), Shell::doStart(), doubleEq(), Shell::doUseClock(), Id::eref(), ObjId::eref(), LookupField< L, A >::get(), Field< A >::get(), Eref::objId(), and SetGet1< A >::set().
Referenced by testBuiltinsProcess().
void testMpiBuiltins | ( | ) |
Referenced by mpiTests().
void testMpiFibonacci | ( | ) |
This test uses the Diagonal Msg and summing in the Arith element to generate a Fibonacci series.
References Id::destroy(), Shell::doAddMsg(), Shell::doCreate(), Shell::doSetClock(), Shell::doStart(), doubleEq(), Shell::doUseClock(), Field< A >::getVec(), Field< A >::set(), and SetGet1< A >::set().
void testStats | ( | ) |
References Shell::doAddMsg(), Shell::doCreate(), Shell::doDelete(), Shell::doReinit(), Shell::doSetClock(), Shell::doStart(), doubleApprox(), Shell::doUseClock(), Field< A >::get(), PI, and Field< A >::set().
Referenced by testBuiltinsProcess().
void testTable | ( | ) |
References Neutral::children(), Eref::data(), Shell::doCreate(), Shell::doDelete(), doubleEq(), ObjId::eref(), LookupField< L, A >::get(), Table::input(), testUtilsForCompareXplot(), and testUtilsForLoadXplot().
Referenced by testBuiltins().
void testUtilsForCompareXplot | ( | ) |
References doubleEq(), getRMS(), getRMSDiff(), and getRMSRatio().
Referenced by testTable().
void testUtilsForLoadXplot | ( | ) |
References doubleEq(), getYcolumn(), and isNamedPlot().
Referenced by testTable().