test: mitigate code duplication with lambda functions 13/233113/1
authorInki Dae <inki.dae@samsung.com>
Tue, 12 May 2020 05:38:49 +0000 (14:38 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 12 May 2020 07:41:34 +0000 (16:41 +0900)
commit234c2d0885e6d3861b0569e24c18cbda72bee028
tree2a8ff788252d2890809567f6f1281eaadd549743
parentf3b7bf3d6b36d09aaec991978557cbd76bf46da4
test: mitigate code duplication with lambda functions

Inference engine initialization is common to all test cases
so move the initialization code to lambda funtions and use them instead.

Change-Id: Ied4bfd77c19ceb3855f6e070a548cda6418e547e
Signed-off-by: Inki Dae <inki.dae@samsung.com>
test/src/inference_engine_tc.cpp