[TensorRate/Tests] Add some unittests for tensor_rate
authorDongju Chae <dongju.chae@samsung.com>
Wed, 2 Dec 2020 07:24:12 +0000 (16:24 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 9 Dec 2020 05:45:26 +0000 (14:45 +0900)
commit53c36c5efec819f5c24f527eca5afe0b425f176a
tree4644ed9238b1c039d368c71c198cfabc63a44af9
parentbe6377271ca147308d61ac058da11d2bae367922
[TensorRate/Tests] Add some unittests for tensor_rate

This patch adds some unittests for tensor_rate.
It increases the coverage of gsttensorrate.c from 67.7% to 78.3%.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
gst/nnstreamer/tensor_rate/gsttensorrate.c
tests/meson.build
tests/nnstreamer_rate/unittest_rate.cc [new file with mode: 0644]