[IIO] Added more test cases
authorParichay Kapoor <pk.kapoor@samsung.com>
Fri, 5 Apr 2019 05:30:10 +0000 (14:30 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 9 Apr 2019 14:07:16 +0000 (23:07 +0900)
commit4423aef1526fe7d862a63b8627e250683ddaabac
tree779a9c5dd2fdc4b1d5c4191c720e43ef5750a0a1
parent23491e664f495ee896ad4b451ad5200f28f1a3e5
[IIO] Added more test cases

1. Added test cases when only some of the channels are enabled
2. Bug fix in test case for indexing when filling in data
3. Added test case for using device number and testing name-by-id

V2:
1. Unref the pipeline to invoke finalize()
2. Pipeline variable renamed from src_iio to src_iio_pipeline

V3:
- Integer divide precision updated

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
gst/nnstreamer/tensor_source/tensor_src_iio.c
tests/nnstreamer_source/unittest_src_iio.cpp