Refactoring unit tests using TEST_P.
authorEhsan Nasiri <ehsann@google.com>
Tue, 3 Jan 2017 19:53:50 +0000 (14:53 -0500)
committerEhsan Nasiri <ehsann@google.com>
Tue, 3 Jan 2017 19:58:48 +0000 (14:58 -0500)
commitc656c23ad3873926bfd84058c1f80fda5743901e
tree6d7540b0c3095f8fe27e4d6ba7a16255f233bfd6
parent6993fc413d8da97de1bb16a05159dc218f12f183
Refactoring unit tests using TEST_P.

Using parameterized unit tests to avoid duplicate code that runs the
tests of OpAccessChain and OpInBoundsAccessChain.

This is also a steppingstone to adding tests for OpPtrAccessChain and
OpInBoundsPtrAccessChain.
test/val/val_id_test.cpp