From 902c6de78f4e118578e419536b7216190a42a5e5 Mon Sep 17 00:00:00 2001 From: Francesc Verdugo Date: Mon, 14 Oct 2019 15:34:58 +0200 Subject: [PATCH] Adding more operations --- test/OperationsTests.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/OperationsTests.jl b/test/OperationsTests.jl index cd57ef5..30135fa 100644 --- a/test/OperationsTests.jl +++ b/test/OperationsTests.jl @@ -195,6 +195,7 @@ R = fill(r,(4,5)) v = VectorValue(1,0) @test v == v' +@test conj(v) == v' t = TensorValue(1,2,3,4) @test trace(t) == 5 @@ -208,6 +209,7 @@ t = TensorValue(1,2,3,4,5,6,7,8,9) a = TensorValue(1,2,3,4) b = a' +@test adjoint(a) == b @test b == TensorValue(1,3,2,4) @test a*b == TensorValue(10,14,14,20)