[Tests/CAPI] Use constexpr instead of define and ifdef for tflite
authorWook Song <wook16.song@samsung.com>
Wed, 8 Apr 2020 05:44:08 +0000 (14:44 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 16 Apr 2020 02:17:14 +0000 (11:17 +0900)
commit31a56c6f23d15b5de2666c297d2ea110403d6b12
tree33937077c9e0d0247a1315cf0fb42a1317fa0336
parent4a4b09c837c13033ae884217d6ba7c4bcf09ad46
[Tests/CAPI] Use constexpr instead of define and ifdef for tflite

This patch experimentally replaces #define and #ifdef used for checking
enable-tensorflow-lite is true with constexpr, which is type-safe
replacement for #define.

Signed-off-by: Wook Song <wook16.song@samsung.com>
tests/tizen_capi/unittest_tizen_capi.cc