test number zero : default constructor and string converter
tensor0 = class=Tensor implementation=class=TensorImplementation name=Unnamed rows=0 columns=0 sheets=0 values=[]
test number one : constructor with size, operator() and string converter
tensor1 = class=Tensor implementation=class=TensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[1,2,3,4,5,6,7,8,9,10,11,12]
values = 1 ; 2 ; 3 ; 4 ; 5 ; 6 ; 7 ; 8 ; 9 ; 10 ; 11 ; 12
test number two : copy constructor and string converter
tensor2 = class=Tensor implementation=class=TensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[1,2,3,4,5,6,7,8,9,10,11,12]
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=Tensor implementation=class=TensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[1,2,3,4,5,6,7,8,9,10,11,12]
test number five : isEmpty method
tensor1 is empty = false
tensor0 is empty = true
tensor5 is empty = true
tensor6 is empty = true
tensor1 = class=Tensor implementation=class=TensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[1,2,3,4,5,6,7,8,9,10,11,12]
tensor1.getSheet(1) = class=Matrix implementation=class=MatrixImplementation name=Unnamed rows=2 columns=2 values=[5,6,7,8]
sheet2 = class=Matrix implementation=class=MatrixImplementation name=Unnamed rows=2 columns=2 values=[0.5,0.6,0.7,0.8]
tensor1 = class=Tensor implementation=class=TensorImplementation name=tensor1 rows=2 columns=2 sheets=3 values=[1,2,3,4,0.5,0.6,0.7,0.8,9,10,11,12]
