[0.1.x] fixed : array field for typedVar class

git-svn-id: https://pykd.svn.codeplex.com/svn@71477 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2011-11-18 16:05:58 +00:00 committed by Mikhail I. Izmestev
parent 43660d5617
commit 859cfaae3e
2 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public:
template <class T>
bool operator!=(T const& rhs)
{ return getValue() == rhs }
{ return getValue() == rhs; }
template <class T>
intBase& operator+=(T const& rhs)

View File

@ -53,3 +53,5 @@ class TypedVarTest( unittest.TestCase ):
self.assertEqual( 0, tv.m_arrayField[0] )
self.assertEqual( 2, tv.m_arrayField[1] )
self.assertEqual( 3, tv.m_noArrayField )
self.assertNotEqual( -1, tv.m_arrayField[0] )
self.assertNotEqual( 0, tv.m_noArrayField )