segment_2d_test.cpp

test code for rcsc::Segment2D [詳細]

#include "segment_2d.h"
#include "vector_2d.h"
#include <rcsc/math_util.h>
#include <boost/test/unit_test.hpp>
#include <boost/test/floating_point_comparison.hpp>

マクロ定義

#define CHECK_DOUBLE_CLOSE(d1, d2)   (BOOST_CHECK_SMALL( ((d2)-(d1)), EPS))
#define CHECK_VECTOR2D_CLOSE(v1, v2)   (BOOST_CHECK_SMALL( ((v2)-(v1)).r(), EPS))

関数

test_suite * init_unit_test_suite (int argc, char *argv[])


説明

test code for rcsc::Segment2D


librcscに対してThu May 1 15:41:23 2008に生成されました。  doxygen 1.5.0