language-extensions/R/test/src/RExtensionExecuteTests.cpp
//----------------------------------------------------------------------------------------------
// Name: ExecuteDoubleColumnsTest
//
// Description:
//  Tests Execute with default script using an InputDataSet of Double columns.
//
ExecuteDoubleColumnsTest
Description:
Tests Execute with default script using an InputDataSet of Double columns.
ExecuteDoubleColumnsTest Description : Tests Execute with default script using an InputDataSet of Double columns .
TEST_F(RExtensionApiTests, ExecuteDoubleColumnsTest)
	{
		InitializeSession(
			(*m_doubleInfo).GetColumnsNumber(),
			m_scriptString);
		InitializeColumns<SQLDOUBLE, SQL_C_DOUBLE>(m_doubleInfo.get());
		Execute<SQLDOUBLE, Rcpp::NumericVector, SQL_C_DOUBLE>(
			ColumnInfo<SQLDOUBLE>::sm_rowsNumber,
			(*m_doubleInfo).m_dataSet.data(),
			(*m_doubleInfo).m_strLen_or_Ind.data(),
			(*m_doubleInfo).m_columnNames);
	}
TEST_F ( RExtensionApiTests , ExecuteDoubleColumnsTest ) { InitializeSession ( ( * m_doubleInfo ) . GetColumnsNumber ( ) , m_scriptString ) ; InitializeColumns < SQLDOUBLE , SQL_C_DOUBLE > ( m_doubleInfo . get ( ) ) ; Execute < SQLDOUBLE , Rcpp :: NumericVector , SQL_C_DOUBLE > ( ColumnInfo < SQLDOUBLE > :: sm_rowsNumber , ( * m_doubleInfo ) . m_dataSet . data ( ) , ( * m_doubleInfo ) . m_strLen_or_Ind . data ( ) , ( * m_doubleInfo ) . m_columnNames ) ; }
Name: ExecuteDoubleColumnsTest
Description:
Tests Execute with default script using an InputDataSet of Double columns.
Name : ExecuteDoubleColumnsTest Description : Tests Execute with default script using an InputDataSet of Double columns .
// Initialize with a default Session that prints Hello RExtension // and assigns InputDataSet to OutputDataSet //