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

Go to the source code of this file.

Functions

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

Variables

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

Function Documentation

◆ BOOST_TEST() [1/3]

BOOST_TEST ( v1 ! = v2)

References v1, and v2.

◆ BOOST_TEST() [2/3]

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

References v1, and v2.

◆ BOOST_TEST() [3/3]

BOOST_TEST ( v1 = =v3) = 5

References v1, and v3.

◆ v2()

VECTOR3I v2 ( 2 ,
2 ,
2  )

Variable Documentation

◆ v1

v1 = 5

Definition at line 77 of file test_vector3.cpp.

◆ v2

VECTOR3I v2(2, 2, 2) ( 2 ,
1 ,
0  )
Initial value:
{
VECTOR3I v1( 0, 1, 2 )
VECTOR3I v1(5, 5, 5)
VECTOR3< int > VECTOR3I
Definition vector3.h:231

Test suite for KiCad math code.

Declare the test suite

◆ v3

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