From d91e98a49556460d235a138a66ee9aa1ad47be61 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 9 Jun 2022 13:53:58 -0300 Subject: [PATCH] Added simple test for monochrome print --- tests/test_plot/test_print_pcb.py | 1 + tests/yaml_samples/pcb_print_2.kibot.yaml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/tests/test_plot/test_print_pcb.py b/tests/test_plot/test_print_pcb.py index 1da77eb5..551adca6 100644 --- a/tests/test_plot/test_print_pcb.py +++ b/tests/test_plot/test_print_pcb.py @@ -103,3 +103,4 @@ def test_pcb_print_simple_1(test_dir): ctx = context.TestContext(test_dir, 'test_pcb_print_simple_1', prj, 'pcb_print_2', '') ctx.run() ctx.expect_out_file(prj+'-assembly_page_01.png') + ctx.expect_out_file(prj+'-assembly_page_02.png') diff --git a/tests/yaml_samples/pcb_print_2.kibot.yaml b/tests/yaml_samples/pcb_print_2.kibot.yaml index 3c8e5fc4..33dc0935 100644 --- a/tests/yaml_samples/pcb_print_2.kibot.yaml +++ b/tests/yaml_samples/pcb_print_2.kibot.yaml @@ -26,3 +26,10 @@ outputs: color: '#14332440' - layer: Edge.Cuts color: "#004040" + - monochrome: true + layers: + - layer: F.Cu + - layer: F.Mask + color: '#14332440' + - layer: Edge.Cuts + color: "#004040"