Added test with assert in test
Signed-off-by: Alejandro Saucedo <axsauze@gmail.com>
This commit is contained in:
parent
a434e0a791
commit
bc1149a421
2 changed files with 5 additions and 11 deletions
|
|
@ -38,4 +38,8 @@ main()
|
|||
std::cout << elem << " ";
|
||||
}
|
||||
std::cout << "}" << std::endl;
|
||||
|
||||
if (tensorOut->vector() != std::vector<float>{ 0, 4, 12 }) {
|
||||
throw std::runtime_error("Result does not match");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue