File: testSelection.py

package info (click to toggle)
p4vasp 0.3.29%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,260 kB
  • ctags: 6,736
  • sloc: python: 34,304; cpp: 13,882; ansic: 2,076; makefile: 379; sql: 207; xml: 102; sh: 11
file content (10 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
import unittest
from p4vasp.Selection import *

class TestSelection(unittest.TestCase):
    def testEncodeSimple(self):
        selection=Selection()
        self.assertEquals(selection.encodeSimple([(1,0,0,0)]),"2")

if __name__ == '__main__':
    unittest.main()