mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-19 19:13:22 +08:00
[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:
parent
43660d5617
commit
859cfaae3e
@ -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)
|
||||
|
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user