diff options
Diffstat (limited to 'Examples/test-suite/octave/complextest_runme.m')
-rw-r--r-- | Examples/test-suite/octave/complextest_runme.m | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Examples/test-suite/octave/complextest_runme.m b/Examples/test-suite/octave/complextest_runme.m index 6a5433f1f..cd9c4a8b7 100644 --- a/Examples/test-suite/octave/complextest_runme.m +++ b/Examples/test-suite/octave/complextest_runme.m @@ -15,10 +15,16 @@ if (complextest.Conjf(a) != a.conjugate()) error("bad complex mapping") endif +if (complextest.Conj2(a) != a.conjugate()) + error("bad complex mapping") +endif + +if (complextest.Conjf2(a) != a.conjugate()) + error("bad complex mapping") +endif + v = (complex(1,2), complex(2,3), complex(4,3), 1); -try - complextest.Copy_h(v); -catch -end_try_catch +complextest.CopyHalf(v); +complextest.CopyHalfRef(v); |