[0.3.x] added : test with call method of std::string

git-svn-id: https://pykd.svn.codeplex.com/svn@91076 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\ussrhero_cp 2016-12-03 21:01:48 +00:00 committed by Mikhail I. Izmestev
parent eac07d8add
commit 7c9621b279

View File

@ -403,4 +403,8 @@ class TypedVarTest( unittest.TestCase ):
g_classChild = target.module.typedVar("g_classChild") g_classChild = target.module.typedVar("g_classChild")
self.assertEqual( 1000*5, g_classChild.childMethod(10) ) self.assertEqual( 1000*5, g_classChild.childMethod(10) )
def testCallStdStr(self):
g_stdString = target.module.typedVar("g_stdString")
self.assertEqual( "testString".find('S'), g_stdString.find_first_of(ord('S'), 0) )