[unittest/libnpuhost] Fix program size setting for the negative case
authorDongju Chae <dongju.chae@samsung.com>
Tue, 9 Mar 2021 09:47:10 +0000 (18:47 +0900)
committer송욱/On-Device Lab(SR)/Staff Engineer/삼성전자 <wook16.song@samsung.com>
Thu, 11 Mar 2021 07:46:00 +0000 (16:46 +0900)
commitf846aafc8a5fda24b86650052e362d0e56d1c5d8
tree8d9ffa9b60bec5e83288ffc1bde779a875d66f83
parent06c2cfb9405e8590408d4958d10a251f28db6228
[unittest/libnpuhost] Fix program size setting for the negative case

This patch fixes the program size setting for the negative case.
To check `num_segments == 0`, the input program size should be not zero.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
tests/unittests/ne_core_npu_test.cc