mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 12:55:17 +01:00
18 lines
275 B
Python
18 lines
275 B
Python
|
#!/usr/bin/env python
|
||
|
|
||
|
import unittest
|
||
|
|
||
|
from app4triqs import chain
|
||
|
|
||
|
class test_chain(unittest.TestCase):
|
||
|
|
||
|
def test_chain(self):
|
||
|
|
||
|
i = 111
|
||
|
j = 222
|
||
|
ij = chain(i,j)
|
||
|
self.assertEqual(ij, 111222)
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
unittest.main()
|