diff options
author | dan sinclair <dj2@everburning.com> | 2019-03-25 11:25:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-25 11:25:17 -0400 |
commit | d7926a5f1eca75f848be1a4c7757ed4fd70a5da0 (patch) | |
tree | 5abe86a562fa77fa10639c63f2777281256b62f6 /docs | |
parent | 11d47964eedc0a69a686237e3caa3b7d1408b263 (diff) | |
download | amber-d7926a5f1eca75f848be1a4c7757ed4fd70a5da0.tar.gz |
Add EXPECT EQ (#411)
This CL adds the EXPECT EQ command into amber script.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/amber_script.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/amber_script.md b/docs/amber_script.md index 5c29110..de63afd 100644 --- a/docs/amber_script.md +++ b/docs/amber_script.md @@ -313,14 +313,14 @@ CLEAR <pipeline> * EQ\_RGBA ``` -# Checks that |buffer_name| at |x|, |y| has the given |value|s when compared +# Checks that |buffer_name| at |x| has the given |value|s when compared # with the given |comparator|. -EXPECT <buffer_name> IDX <x> <y> <comparator> <value>+ +EXPECT <buffer_name> IDX <x> <comparator> <value>+ -# Checks that |buffer_name| at |x|, |y| has values within |tolerance| of |value| +# Checks that |buffer_name| at |x| has values within |tolerance| of |value| # when compared with the given |comparator|. The |tolerance| can be specified # as 1-4 float values separated by spaces. -EXPECT <buffer_name> IDX <x> <y> TOLERANCE \ +EXPECT <buffer_name> IDX <x> TOLERANCE \ <tolerance>{1,4} <comparator> <value>+ # Checks that |buffer_name| at |x|, |y| for |width|x|height| pixels has the |