tests: add a test case for gpiod_line_direction()
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 5 May 2017 16:57:56 +0000 (18:57 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 5 May 2017 16:57:56 +0000 (18:57 +0200)
commitfb1ef2df605166200db7274bc30c2c6ef1abe0b7
treea0c7fcc051f77b3b241199e7769b0776b6b8c590
parent35a5fdb2529ee71494f878ed89074ec9696148db
tests: add a test case for gpiod_line_direction()

Verify that the direction is changed properly and that a correct value
is returned from gpiod_line_direction().

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/unit/tests-line.c