source:
main/pyfprint/trunk/src/test_fprint.py
@
12785
Last change on this file since 12785 was 11526, checked in by , 11 years ago | |
---|---|
File size: 370 bytes |
Line | |
---|---|
1 | # tests for pyfprint module |
2 | import ctypes |
3 | import unittest |
4 | from fprint import ( |
5 | LEFT_THUMB, LEFT_INDEX, LEFT_MIDDLE, LEFT_RING, LEFT_LITTLE, |
6 | RIGHT_THUMB, RIGHT_INDEX, RIGHT_MIDDLE, RIGHT_RING, RIGHT_LITTLE, |
7 | ) |
8 | |
9 | class EnumTests(unittest.TestCase): |
10 | |
11 | def test_finger_nums(self): |
12 | assert LEFT_THUMB.value == 1 |
13 | assert RIGHT_LITTLE.value == 10 |
14 | |
15 | |
16 |
Note: See TracBrowser for help on using the repository browser.