source: dev/trunk/ab5.0/abdev/ab-test/Type.cpp@ 829

Last change on this file since 829 was 829, checked in by イグトランス (egtra), 12 years ago

svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/plain; charset=Shift_JIS
File size: 632 bytes
Line 
1#include "stdafx.h"
2
3#include <commctrl.h>
4#include <boost/serialization/access.hpp>
5#include <boost/serialization/split_member.hpp>
6#include <boost/serialization/export.hpp>
7#include <boost/range.hpp>
8
9#include <jenga/include/jenga.h>
10#include <abdev/ab_common/include/ab_common.h>
11
12// 暫定
13int bDebugSupportProc;
14
15BOOST_AUTO_TEST_CASE(TypeTest)
16{
17 Type t;
18 BOOST_CHECK_EQUAL(t.GetBasicType(), DEF_NON);
19 BOOST_CHECK_EQUAL(t.GetIndex(), -1);
20
21 int basicType = DEF_NON;
22 Type::StringToBasicType("Long", basicType);
23 BOOST_CHECK_EQUAL(basicType, DEF_LONG);
24
25 BOOST_CHECK_EQUAL(Type::GetBasicTypeFromSimpleName("a%"), DEF_INTEGER);
26}
Note: See TracBrowser for help on using the repository browser.