Commit 54443839 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: Fix the test

parent cb84124d
......@@ -33,14 +33,14 @@ int TestDataArray(int,char *[])
{
farray->InsertNextTuple3( cc + 0.1, cc + 0.2, cc + 0.3);
}
array->RemoveFirstTuple();
array->RemoveTuple(3);
array->RemoveTuple(4);
array->RemoveLastTuple();
farray->RemoveFirstTuple();
farray->RemoveTuple(3);
farray->RemoveTuple(4);
farray->RemoveLastTuple();
cout << "Array:";
for ( cc = 0; cc < array->GetNumberOfTuples(); ++cc )
for ( cc = 0; cc < farray->GetNumberOfTuples(); ++cc )
{
double* fa = array->GetTuple3(cc);
double* fa = farray->GetTuple3(cc);
double fc[3];
fc[0] = ca[cc] + .1;
fc[1] = ca[cc] + .2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment