~ubuntu-branches/ubuntu/maverick/openturns/maverick

« back to all changes in this revision

Viewing changes to python/test/t_SquareMatrix_std.atpy

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-05-10 17:27:55 UTC
  • mfrom: (1.1.4 upstream) (5.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100510172755-cb5ynskknqqi5rhp
Tags: 0.13.2-2ubuntu1
* Merge with Debian testing. No changes left.
* ubuntu_fix-python-2.6.patch: fix detection of python 2.6 libs, to not use
  LOCALMODLIBS. This pulls a dependency on SSL and makes the package FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# List of executables that should be run to perform the tests
6
6
#AT_TESTED([t_SquareMatrix_std.py])
7
7
 
8
 
AT_CHECK([t_SquareMatrix_std.py],
 
8
AT_CHECK([python ${examplesdir}/t_SquareMatrix_std.py],
9
9
         [0],
10
10
[[test number zero : default constructor and string converter
11
11
squareMatrix0 =  class=SquareMatrix dimension=0 implementation=class=MatrixImplementation name=Unnamed rows=0 columns=0 values=[]
29
29
test number nine : matrix multiplication method
30
30
prod =  class=SquareMatrix dimension=2 implementation=class=MatrixImplementation name=Unnamed rows=2 columns=2 values=[10,14,14,20]
31
31
test number ten : multiplication with a numerical point method
32
 
pt =  class=NumericalPoint name=Unnamed dimension=2 implementation=class=NumericalPointImplementation name=Unnamed dimension=2 values=[1,2]
33
 
ptResult =  class=NumericalPoint name=Unnamed dimension=2 implementation=class=NumericalPointImplementation name=Unnamed dimension=2 values=[7,10]
 
32
pt =  class=NumericalPoint name=Unnamed dimension=2 values=[1,2]
 
33
ptResult =  class=NumericalPoint name=Unnamed dimension=2 values=[7,10]
34
34
test number eleven : multiplication and division by a numerical scalar methods
35
35
scalprod1 =  class=SquareMatrix dimension=2 implementation=class=MatrixImplementation name=Unnamed rows=2 columns=2 values=[3,6,9,12]
36
36
scalprod2 =  class=SquareMatrix dimension=2 implementation=class=MatrixImplementation name=Unnamed rows=2 columns=2 values=[3,6,9,12]