Skip to content

Commit

Permalink
Add two more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barrywardell committed Mar 11, 2014
1 parent 88effd9 commit 5617563
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/TestxTensor.m
Expand Up @@ -198,14 +198,14 @@

test[MakeExplicit[pd[Uu[ua], la]], {nd[Uu1, 1] + nd[Uu2, 2] + nd[Uu3, 3]}];

(* test[Simplify[MakeExplicit[pd[MatrixInverse[Tdd[ua, ub]] Tdd[lb, lc], ld]]], {0,
test[Simplify[MakeExplicit[pd[MatrixInverse[Tdd[ua, ub]] Tdd[lb, lc], ld] /. nd_?(! xTensorQ[#] &)[x_] :> x]], {0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0}];

test[FullSimplify[MakeExplicit[pd[MatrixInverse[Tdd[ua, ub]], ld] Tdd[lb, lc]] +
MakeExplicit[MatrixInverse[Tdd[ua, ub]] pd[Tdd[lb, lc], ld]]],
test[FullSimplify[MakeExplicit[pd[MatrixInverse[Tdd[ua, ub]], ld] Tdd[lb, lc] /. nd_?(! xTensorQ[#] &)[x_] :> x] +
MakeExplicit[MatrixInverse[Tdd[ua, ub]] pd[Tdd[lb, lc], ld] /. nd_?(! xTensorQ[#] &)[x_] :> x]],
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0}]; *)
0, 0}];

reportResults[];

Expand Down

0 comments on commit 5617563

Please sign in to comment.