From d7926a5f1eca75f848be1a4c7757ed4fd70a5da0 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Mon, 25 Mar 2019 11:25:17 -0400 Subject: Add EXPECT EQ (#411) This CL adds the EXPECT EQ command into amber script. --- tests/cases/expect_eq.amber | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/cases/expect_eq.amber (limited to 'tests') diff --git a/tests/cases/expect_eq.amber b/tests/cases/expect_eq.amber new file mode 100644 index 0000000..f9affc6 --- /dev/null +++ b/tests/cases/expect_eq.amber @@ -0,0 +1,17 @@ +#!amber +# Copyright 2019 The Amber Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +BUFFER orig_buf DATA_TYPE int32 SIZE 100 FILL 11 +EXPECT orig_buf IDX 0 EQ 11 -- cgit v1.2.3