test random walk position model with grid topology

This commit is contained in:
Mathieu Lacage
2007-07-03 09:15:20 +02:00
parent 872df4e54e
commit 94c1f03300

View File

@@ -40,6 +40,7 @@ int main (int argc, char *argv[])
{
Ptr<Object> object = *j;
Ptr<Position> position = object->QueryInterface<Position> (Position::iid);
NS_ASSERT (position != 0);
double x, y, z;
position->Get (x,y,z);
std::cout << "x=" << x << ", y=" << y << ", z=" << z << std::endl;