Add test for modelfiles
authorJihoon Lee <jhoon.it.lee@samsung.com>
Thu, 16 Jul 2020 01:55:57 +0000 (10:55 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 20 Jul 2020 00:48:33 +0000 (09:48 +0900)
commit3d90377555c163e6e3034f7ee840739d2dfaed19
tree37198806c6a7282ab350083ced9afe2edac6c0b2
parent768a1fe97d95ecbfdb6b77d31b2927d4ac399622
Add test for modelfiles

Add automated test scaffolding to test modelfile configuration &
 NN initiation.

**Changes proposed in this PR:**
- Add IniSection class to control ini (for testing)
- Add Ini test fixture for paremeterized ini testing
- Add `unittest_nntrainer_modelfile.cpp`

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
test/include/nntrainer_test_util.h
test/nntrainer_test_util.cpp
test/unittest/meson.build
test/unittest/unittest_nntrainer_modelfile.cpp [new file with mode: 0644]