KiCad PCB EDA Suite
Loading...
Searching...
No Matches
libeval_compiler_test.cpp File Reference
#include <wx/wx.h>
#include <cstdio>
#include "board.h"
#include "pcb_track.h"
#include <pcbexpr_evaluator.h>
#include <pcb_io/pcb_io_mgr.h>
#include <pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.h>
#include <unordered_set>
#include <core/profile.h>

Go to the source code of this file.

Functions

bool testEvalExpr (const std::string expr, LIBEVAL::VALUE expectedResult, bool expectError=false, BOARD_ITEM *itemA=nullptr, BOARD_ITEM *itemB=nullptr)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

◆ testEvalExpr()

bool testEvalExpr ( const std::string  expr,
LIBEVAL::VALUE  expectedResult,
bool  expectError = false,
BOARD_ITEM itemA = nullptr,
BOARD_ITEM itemB = nullptr 
)