diff options
author | Håvard Pettersen <havardpe@oath.com> | 2020-04-30 10:32:46 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2020-04-30 10:32:46 +0000 |
commit | 8d6e9a97a5da936e8b72573b7477f6ec555138cd (patch) | |
tree | 36380578308b6d13c2f43c9c36c78030494f8a29 /eval | |
parent | c6d0163069974aea86fbec8e43f55a21f12b5844 (diff) |
added float cell range tests
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp b/eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp index 13f2dc1041d..3c35f90c521 100644 --- a/eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp +++ b/eval/src/tests/eval/tensor_lambda/tensor_lambda_test.cpp @@ -130,6 +130,8 @@ TEST("require that tensor reshape with non-matching cell type requires cell copy TEST("require that tensor cell subrange view is optimized") { TEST_DO(verify_range("tensor(y[5])(x3y5{x:1,y:(y)})", "x3y5{x:1}")); TEST_DO(verify_range("tensor(x[3])(x15{x:(x+5)})", "tensor(x[3]):[6,7,8]")); + TEST_DO(verify_range("tensor<float>(y[5])(x3y5f{x:1,y:(y)})", "x3y5f{x:1}")); + TEST_DO(verify_range("tensor<float>(x[3])(x15f{x:(x+5)})", "tensor<float>(x[3]):[6,7,8]")); } TEST("require that tensor cell subrange with non-matching cell type requires cell copy") { |