shape_doc 0.1
point_test.cpp
# include <iostream>
# include <assert.h>

# include <shape/point.hpp>
# include <shape/AXEL.hpp>

using namespace std ;
using namespace mmx ;
using namespace shape ;

# define Point AXEL::Point
int main(int argc, char ** argv)
{
    Point p1(0,0,0) ;    // Default constructor
    Point p2 = p1 ;      // Copy constructor
    Point p3 ; p3 = p1 ; // Assignement operator

    p3.setx(1.0) ; 
    p3[1] = 1.0 ;

    assert(p1 == p2);
    assert(p1 != p3);

}