Test suite for chunks

This page is a preliminary test suite for the chunk rules language and far from exhaustive. Additional tests are planned to cover parsing with a suite of valid and invalid examples.

Updating goal buffer

Checking one value doesn’t equal another

Undefining a property in a buffer

Matching lists as property values

Variables in lists as property values

! and * in lists as property values

Put followed by get

Delete followed by get

Greater than and Less than or equal

Iteration over a set of chunks

Iteration over module buffer properties

Iteration over properties with item lists

Accessing @status in a condition

Handling get with no matching chunks

Queuing sub-goals

Handling @context matching

Handling @subject matching

Handling @object matching

Handling @push

Handling @unshift

Handling @pop

Handling @shift

Negated condition on empty buffer

Negated condition on non-empty buffer

Log:



Facts graph:



Rules graph:



Dave Raggett <dsr@w3.org>


eu logo This work is supported by the European Union's Horizon 2020 research and innovation programme under grant agreement No 780732 for project Boost 4.0, which focuses on smart factories.