コード例 #1
0
ファイル: testChannelPut.py プロジェクト: epics-base/pvaPy
 def testPutBoolean_Boolean(self):
     value = TestUtility.getRandomBoolean()
     c = TestUtility.getBooleanChannel()
     c.putBoolean(value)
     value2 = c.get().getPyObject()
     assert (value == value2)
コード例 #2
0
ファイル: testChannelPut.py プロジェクト: pheest/pvaPy
 def testPutBoolean_Boolean(self):
     value = TestUtility.getRandomBoolean()
     c = TestUtility.getBooleanChannel()
     c.putBoolean(value)
     value2 = c.get().getPyObject()
     assert(value == value2)
コード例 #3
0
ファイル: testChannelPut.py プロジェクト: epics-base/pvaPy
 def testPut_Boolean(self):
     value = TestUtility.getRandomBooleanString()
     c = TestUtility.getBooleanChannel()
     c.put(value)
     value2 = c.get().getPyObject()
     TestUtility.assertBooleanEquality(value, value2)
コード例 #4
0
ファイル: testChannelPut.py プロジェクト: pheest/pvaPy
 def testPut_Boolean(self):
     value = TestUtility.getRandomBooleanString()
     c = TestUtility.getBooleanChannel()
     c.put(value)
     value2 = c.get().getPyObject()
     TestUtility.assertBooleanEquality(value,value2)