source: dev/branches/egtra/ab5.0/abdev/ab-test/Type.cpp@ 820

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

Typeクラスを単体テスト可能な状態へ

File size: 582 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}
Note: See TracBrowser for help on using the repository browser.