Added tests for smooth and noSmooth for preproc.

In response to https://github.com/processing/processing4/issues/149,
adding tests to catch issues with smooth and noSmooth in the
preprocessor. Issue found by @benfry.
This commit is contained in:
A Pottinger
2020-11-21 10:14:54 -08:00
parent e96622d633
commit 3e7aab9556
7 changed files with 195 additions and 0 deletions

View File

@@ -365,4 +365,19 @@ public class ParserTests {
expectGood("colorreturn");
}
@Test
public void testNoSmooth() {
expectGood("nosmooth");
}
@Test
public void testSmooth() {
expectGood("smoothnoparam");
}
@Test
public void testSmoothWithParam() {
expectGood("smoothparam");
}
}