source: main/pyfprint/trunk/src/test_fprint.py @ 17944

Last change on this file since 17944 was 11526, checked in by uli, 11 years ago

Add inital project files.

File size: 370 bytes
Line 
1# tests for pyfprint module
2import ctypes
3import unittest
4from 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
9class 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.