mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
13 lines
225 B
Python
13 lines
225 B
Python
import unittest
|
|
from _add_test import *
|
|
|
|
class AddMethodTest(unittest.TestCase):
|
|
|
|
def testIt(self):
|
|
c = C()
|
|
c.x = 10
|
|
self.assertEqual(c.get_x(), 10)
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|