00001 //--------------------------------------------------------------------------- 00002 /** @file 00003 */ 00004 //--------------------------------------------------------------------------- 00005 #include <boost/test/auto_unit_test.hpp> 00006 00007 #include "VC.hpp" 00008 00009 using namespace benzene; 00010 00011 //--------------------------------------------------------------------------- 00012 00013 namespace { 00014 00015 BOOST_AUTO_TEST_CASE(VC_Construction) 00016 { 00017 HexPoint x = HEX_CELL_A1; 00018 HexPoint y = HEX_CELL_A2; 00019 VC a(x,y); 00020 BOOST_CHECK_EQUAL(a.x(), x); 00021 BOOST_CHECK_EQUAL(a.y(), y); 00022 } 00023 00024 } 00025 00026 //---------------------------------------------------------------------------