#include "stdafx.h" #include #include #include #include #include #include #include // Žb’è int bDebugSupportProc; BOOST_AUTO_TEST_CASE(TypeTest) { Type t; BOOST_CHECK_EQUAL(t.GetBasicType(), DEF_NON); BOOST_CHECK_EQUAL(t.GetIndex(), -1); int basicType = DEF_NON; Type::StringToBasicType("Long", basicType); BOOST_CHECK_EQUAL(basicType, DEF_LONG); BOOST_CHECK_EQUAL(Type::GetBasicTypeFromSimpleName("a%"), DEF_INTEGER); }