diff test/LazyTensors/lazy_tensor_operations_test.jl @ 1878:b12e28a03b2e refactor/lazy_tensors/elementwise_ops

Add missing newline
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 27 Jan 2025 17:10:59 +0100
parents 4bd998069053
children
line wrap: on
line diff
--- a/test/LazyTensors/lazy_tensor_operations_test.jl	Mon Jan 27 16:56:04 2025 +0100
+++ b/test/LazyTensors/lazy_tensor_operations_test.jl	Mon Jan 27 17:10:59 2025 +0100
@@ -168,6 +168,10 @@
         @test ((A-B)*v)[i] == 2*v[i] - 3*v[i]
     end
 
+    for i ∈ eachindex(v)
+        @test ((A+B)'*v)[i] == 2*v[i] + 3*v[i]
+    end
+
 
     @test range_size(A+B) == range_size(A) == range_size(B)
     @test domain_size(A+B) == domain_size(A) == domain_size(B)