KiCad PCB EDA Suite
|
Go to the source code of this file.
Functions | |
BOOST_TEST (m1==m3) | |
BOOST_TEST (m2 !=m1) | |
BOOST_TEST (res==expected) | |
MATRIX3x3 | expected (VECTOR3I{ 5, 5, 5 }, { 10, 10, 10 }, { 15, 15, 15 }) |
Variables | |
MATRIX3x3D | m2 (VECTOR3I{ 6, 6, 6 }, { 1, 1, 1 }, { 3, 3, 3 }) |
Test suite for KiCad math code. | |
MATRIX3x3D | m3 (VECTOR3I{ 1, 1, 1 }, { 2, 2, 2 }, { 3, 3, 3 }) |
VECTOR3I | v1 (5, 5, 5) |
VECTOR3I | res = m1 * v1 |
VECTOR3I | expected (15, 30, 45) |
BOOST_TEST | ( | m1 | = =m3 | ) |
BOOST_TEST | ( | m2 ! | = m1 | ) |
MATRIX3x3D m2(VECTOR3I{ 6, 6, 6 }, { 1, 1, 1 }, { 3, 3, 3 }) | ( | VECTOR3I{ 6, 6, 6 } | , |
{ 1, 1, 1 } | , | ||
{ 3, 3, 3 } | |||
) |
Test suite for KiCad math code.
Declare the test suite
Referenced by PNS::MEANDER_SHAPE::Fit().
MATRIX3x3D m3(VECTOR3I{ 1, 1, 1 }, { 2, 2, 2 }, { 3, 3, 3 }) | ( | VECTOR3I{ 1, 1, 1 } | , |
{ 2, 2, 2 } | , | ||
{ 3, 3, 3 } | |||
) |
Definition at line 54 of file test_matrix3x3.cpp.
Referenced by SCH_PIN_TABLE_DATA_MODEL::compare(), PIN_TABLE_DATA_MODEL::compare(), PCB_NET_INSPECTOR_PANEL::DATA_MODEL::Compare(), PIN_NUMBERS::Compare(), MICROWAVE_TOOL::createMicrowaveInductor(), PNS::MULTI_DRAGGER::Drag(), fontconfig::FONTCONFIG::getFcString(), SYMBOL_LIBRARY_MANAGER::GetLibraryNames(), UTIL::GetRefDesPrefix(), PROPERTY< Owner, T, Base >::getter(), PROPERTY_ENUM< Owner, T, Base >::getter(), COROUTINE< ReturnType, ArgType >::GuardMemory(), intersectsBackCourtyardFunc(), intersectsCourtyardFunc(), intersectsFrontCourtyardFunc(), EESCHEMA_JOBS_HANDLER::JobExportBom(), EESCHEMA_JOBS_HANDLER::JobExportNetlist(), EESCHEMA_JOBS_HANDLER::JobExportPythonBom(), PerlinNoise::noise(), PANEL_FP_PROPERTIES_3D_MODEL::On3DModelCellChanged(), PANEL_FP_PROPERTIES_3D_MODEL::OnAdd3DModel(), SPICE_VALUE::operator*(), SPICE_VALUE::operator+(), SPICE_VALUE::operator-(), SPICE_VALUE::operator/(), operator|(), FOOTPRINT_WIZARD_FRAME::ParametersUpdated(), DSNLEXER::parseDouble(), SEXPR::PARSER::parseString(), PANEL_FP_PROPERTIES_3D_MODEL::ReloadModelsFromFootprint(), SYMBOL_LIBRARY_MANAGER::SaveLibrary(), SIMULATOR_FRAME_UI::SaveWorkbook(), HTTP_LIB_CONNECTION::SelectAll(), HTTP_LIB_CONNECTION::SelectOne(), PYTHON_FOOTPRINT_WIZARD::SetParameterValues(), HTTP_LIB_CONNECTION::syncCategories(), SPICE_VALUE::ToDouble(), DXF_IMPORT_PLUGIN::toDxfString(), DXF_IMPORT_PLUGIN::toNativeString(), SPICE_VALUE::ToSpiceString(), SPICE_VALUE::ToString(), DIALOG_REGULATOR_FORM::TransferDataFromWindow(), HTTP_LIB_CONNECTION::ValidateHTTPLibraryEndpoints(), and SCH_EDIT_FRAME::WriteNetListFile().
VECTOR3I v1(5, 5, 5) | ( | 5 | , |
5 | , | ||
5 | |||
) |
Referenced by RENDER_3D_RAYTRACE_BASE::addModels(), RENDER_3D_OPENGL::addObjectTriangles(), TRIANGLE_DISPLAY_LIST::AddToMiddleContourns(), RENDER_3D_OPENGL::addTopAndBottomTriangles(), BBOX_3D::ApplyTransformation(), RN_NET::TRIANGULATOR_STATE::areNodesColinear(), BOOST_FIXTURE_TEST_CASE(), PIN_NUMBERS::Compare(), RENDER_3D_OPENGL::createBoard(), KIGFX::OPENGL_GAL::DrawBitmap(), KIGFX::OPENGL_GAL::drawLineQuad(), ARC_POINT_EDIT_BEHAVIOR::editArcEndpointKeepTangent(), formatMaterial(), RENDER_3D_OPENGL::generateViasAndPads(), SHAPE_ARC::IsCCW(), PCB_IO_EAGLE::loadPolygon(), PCB_IO_EAGLE::packagePolygon(), POLYGON_4PT_2D::POLYGON_4PT_2D(), RENDER_3D_RAYTRACE_BASE::Reload(), PNS::shovedArea(), vcopy(), vcross(), and vdot().