Skip to content

Commit

Permalink
write test for runner
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Feb 10, 2025
1 parent 6796818 commit a0aa5c3
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.noise_planet.noisemodelling.runner;

import org.junit.jupiter.api.Test;
import org.noisemodelling.runner.Main;

public class MainTest {

@Test
public void testDoubleArg() throws Exception {
String receiverPath = MainTest.class.getResource("../wps/receivers.shp").getPath()
Main.main("-w", "target", "-s", "test.groovy", "--pathFile", receiverPath);
}
}

0 comments on commit a0aa5c3

Please sign in to comment.