You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: query_arithmetic_parser_test.go
    path of file: ./repos/benthos/internal/bloblang/parser
    
    the code of the file until where you have to start completion: package parser

import (
	"testing"

	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/require"

	"github.com/benthosdev/benthos/v4/internal/bloblang/query"
	"github.com/benthosdev/benthos/v4/internal/message"
)

func TestArithmeticParser(t *testing.T) {
	type easyMsg struct {
		content string
		meta    map[string]any
	}

	tests := map[string]struct {
		input    string
		output   string
		messages []easyMsg
		index    int
	}{
		"compare string to int": {
			input:  `"foo" != 5`,
			output: `true`,
		},
		"compare string to null": {
			input:  `"foo" != null`,
			output: `true`,
		},
		"compare string to int 2": {
			input:  `5 != "foo"`,
			output: `true`,
		},
		"compare string to null 2": {
			input:  `null != "foo"`,
			output: `true`,
		},
		"add strings": {
			input:  `"foo" + "bar" + "%v-%v".format(10, 20)`,
			output: `foobar10-20`,
		},
		"comparisons with not": {
			input:  `!true || false`,
			output: `false`,
		},
		"comparisons with not 2": {
			input:  `false || !false`,
			output: `true`,
		},
		"mod two ints": {
			input:  `5 % 2`,
			output: `1`,
		},
		"mod 
    
func TestArithmeticLiteralsParser(t *testing.T) {
	tests := map[string]string{
		`2 == 3`:               `false`,
		`"2".number() == 2`:    `true`,
		`"2" == "2"`:           `true`,
		`"2" == "3"`:           `false`,
		`2.0 == 2`:             `true`,
		`true == true`:         `true`,
		`true == false`:        `false`,
		`2 == -2`:              `false`,
		`2 == 3-1`:             `true`,
		`2 == 2`:               `true`,
		`2 != 3`:               `true`,
		`2.5 == 3.2`:           `false`,
		`2.5 == 3.5-1`:         `true`,
		`2.3 == 2.3`:           `true`,
		`2.3 != 2.2`:           `true`,
		`3 != 3`:               `false`,
		`5 < 2*3`:              `true`,
		`5 > 2*3`:              `false`,
		`5 <= 2.5*2`:           `true`,
		`2 > -3`:               `true`,
		`-2 < 2`:               `true`,
		`-(2) < 2`:             `true`,
		`2 < -"2".number()`:    `false`,
		`2 > -"2".number()`:    `true`,
		`(2 == 2) && (1 != 2)`: `true`,
		`(2 == 2) && (2 != 2)`: `false`,
		`(2 == 2) || (2 != 2)`: `true`,
		`(2 == 1) || (2 != 2)`: `false`,
		`null == null`:         `true`,
		`{} == {}`:             `true`,
		`["foo"] == ["foo"]`:   `true`,
		`["bar"] == ["foo"]`:   `false`,
		`["bar"] != ["foo"]`:   `true`,
		`{} != null`:           `true`,
	}

	for k, v := range tests {
		msg := message.QuickBatch(nil)
		e, pErr := tryParseQuery(k)
		require.Nil(t, pErr)

		res, err := query.ExecToString(e, query.FunctionContext{
			Index:    0,
			MsgBatch: msg,
		})
		require.NoError(t, err)
		assert.Equal(t, v, res, k)

		bres, err := query.ExecToBytes(e, query.FunctionContext{MsgBatch: msg})
		require.NoError(t, err)
		res = string(bres)
		assert.Equal(t, v, res, k)
	}
}