kerneltest/e32test/buffer/t_graph.cpp
changeset 271 dc268b18d709
parent 0 a41df078684a
equal deleted inserted replaced
269:d57b86b1867a 271:dc268b18d709
     1 // Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1994-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   767 	p3D3.iZ=iZ3;
   767 	p3D3.iZ=iZ3;
   768 	test(p3D3.iX==iX3 && p3D3.iY==iY3&& p3D3.iZ==iZ3);
   768 	test(p3D3.iX==iX3 && p3D3.iY==iY3&& p3D3.iZ==iZ3);
   769 	test(p3D3.AsPoint()==aPoint);
   769 	test(p3D3.AsPoint()==aPoint);
   770 	test(p3D5.AsPoint()==p3D3.AsPoint());
   770 	test(p3D5.AsPoint()==p3D3.AsPoint());
   771 	
   771 	
       
   772 	aPoint.iX=iX2;
       
   773 	aPoint.iY=iY2;
       
   774 	TInt z = p3D5.iZ;
       
   775 	p3D5.SetPoint(aPoint);
       
   776 	test(p3D5.iX==iX2);
       
   777 	test(p3D5.iY==iY2);
       
   778 	test(p3D5.iZ==z);
   772 
   779 
   773 	p3D4.SetXYZ(iX4,iY4,iZ4);
   780 	p3D4.SetXYZ(iX4,iY4,iZ4);
   774 	test(p3D4.iX==iX4 && p3D4.iY==iY4);
   781 	test(p3D4.iX==iX4 && p3D4.iY==iY4);
   775 
   782 
   776 	p3D1=p3D4;
   783 	p3D1=p3D4;