mirror of
https://github.com/processing/processing4.git
synced 2026-01-30 03:41:15 +01:00
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:
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user