Add static asserts to functions using MixedTyped
This makes it easier to find all the places that need to be changed
after adding a new type to MixedTyped.
Also make CompareResults function generic so that it doesn't cause
errors after adding new type to MixedTyped.
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: Iebd89b703415b22ade56c93361926ceed0611f7d
Merged-In: Iebd89b703415b22ade56c93361926ceed0611f7d
(cherry picked from commit ba304056176c602a8b6272a7bb6931ef7ae7fee6)
3 files changed