dda793c0ef
- Introduced `kicad_cli.sh` for local and Docker-based kicad-cli execution. - Created `schops.py` for schematic operations including ERC, BOM, netlist exports, and bulk edits. - Added README.md for schops with installation and usage instructions. - Included requirements.txt for necessary Python packages. - Implemented rules engine for applying field defaults and renaming nets. - Added tests for rules engine functionality. - Introduced scope guard script to enforce file modification policies based on PR labels. - Created watch script to monitor KiCad files and trigger hardware gate on changes.
14 lines
219 B
C++
14 lines
219 B
C++
#include <unity.h>
|
|
|
|
static int add(int a, int b) { return a + b; }
|
|
|
|
void test_add(void) {
|
|
TEST_ASSERT_EQUAL_INT(4, add(2, 2));
|
|
}
|
|
|
|
int main(int, char**) {
|
|
UNITY_BEGIN();
|
|
RUN_TEST(test_add);
|
|
return UNITY_END();
|
|
}
|