KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_vector3.cpp File Reference

Go to the source code of this file.

Functions

 BOOST_CHECK (v1.Cross(v2)==VECTOR3I(-2, 4,-2))
 
VECTOR3I v2 (2, 2, 2)
 
 BOOST_CHECK (v1==v3) = 5
 
 BOOST_CHECK (v1 !=v2)
 

Variables

VECTOR3I v2 (2, 1, 0)
 Test suite for KiCad math code.
 
VECTOR3I v3 (1, 1, 1)
 
 v1 = 5
 

Function Documentation

◆ BOOST_CHECK() [1/3]

BOOST_CHECK ( v1 = v2)

◆ BOOST_CHECK() [2/3]

BOOST_CHECK ( v1.  Crossv2 = =VECTOR3I(-2, 4,-2))

◆ BOOST_CHECK() [3/3]

BOOST_CHECK ( v1  = =v3) = 5

◆ v2()

VECTOR3I v2 ( ,
,
 
)

Variable Documentation

◆ v1

v1 = 5

Definition at line 77 of file test_vector3.cpp.

◆ v2

VECTOR3I v2(2, 2, 2) ( ,
,
 
)
Initial value:
{
VECTOR3I v1( 0, 1, 2 )
Define a general 3D-vector.
Definition: vector3.h:54
v1

Test suite for KiCad math code.

Declare the test suite

◆ v3

VECTOR3I v3(1, 1, 1) ( ,
,
 
)