test number zero : default constructor and string converter
tensor0 = class=ComplexTensor implementation=class=ComplexTensorImplementation name=Unnamed rows=0 columns=0 sheets=0 values=[]
test number one : constructor with size, operator() and string converter
tensor1 = class=ComplexTensor implementation=class=ComplexTensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[(1,0.1),(2,0.2),(3,0.3),(4,0.4),(5,0.5),(6,0.6),(7,0.7),(8,0.8),(9,0.9),(10,1),(11,1.1),(12,1.2)]
values = (1,0.1) ; (2,0.2) ; (3,0.3) ; (4,0.4) ; (5,0.5) ; (6,0.6) ; (7,0.7) ; (8,0.8) ; (9,0.9) ; (10,1) ; (11,1.1) ; (12,1.2)
test number two : copy constructor and string converter
tensor2 = class=ComplexTensor implementation=class=ComplexTensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[(1,0.1),(2,0.2),(3,0.3),(4,0.4),(5,0.5),(6,0.6),(7,0.7),(8,0.8),(9,0.9),(10,1),(11,1.1),(12,1.2)]
test number three : get dimensions methods
tensor1's nbRows = 2
tensor1's nbColumns = 2
tensor1's nbSheets = 3
test number four : assignment method
tensor3 = class=ComplexTensor implementation=class=ComplexTensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[(1,0.1),(2,0.2),(3,0.3),(4,0.4),(5,0.5),(6,0.6),(7,0.7),(8,0.8),(9,0.9),(10,1),(11,1.1),(12,1.2)]
test number five : isEmpty method
tensor1 is empty = false
tensor0 is empty = true
tensor5 is empty = true
tensor6 is empty = true
tensor1 = class=ComplexTensor implementation=class=ComplexTensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[(1,0.1),(2,0.2),(3,0.3),(4,0.4),(5,0.5),(6,0.6),(7,0.7),(8,0.8),(9,0.9),(10,1),(11,1.1),(12,1.2)]
tensor1.getSheet(1) = class=ComplexMatrix implementation=class=ComplexMatrixImplementation name=Unnamed rows=2 columns=2 values=[(5,0.5),(6,0.6),(7,0.7),(8,0.8)]
sheet2 = class=ComplexMatrix implementation=class=ComplexMatrixImplementation name=Unnamed rows=2 columns=2 values=[(0.5,0),(0.6,0),(0.7,0),(0.8,0)]
tensor1 = class=ComplexTensor implementation=class=ComplexTensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[(1,0.1),(2,0.2),(3,0.3),(4,0.4),(0.5,0),(0.6,0),(0.7,0),(0.8,0),(9,0.9),(10,1),(11,1.1),(12,1.2)]
