From 44148abc185ad1c224c79e0d53f0efe47d498809 Mon Sep 17 00:00:00 2001 From: z7zmey Date: Sat, 10 Feb 2018 11:10:35 +0200 Subject: [PATCH] BitwiseNot BooleanNot tests --- node/expr/t_bitwise_not_test.go | 33 +++++++++++++++++++++++++++++++++ node/expr/t_boolean_not_test.go | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 node/expr/t_bitwise_not_test.go create mode 100644 node/expr/t_boolean_not_test.go diff --git a/node/expr/t_bitwise_not_test.go b/node/expr/t_bitwise_not_test.go new file mode 100644 index 0000000..da8be71 --- /dev/null +++ b/node/expr/t_bitwise_not_test.go @@ -0,0 +1,33 @@ +package expr_test + +import ( + "bytes" + "testing" + + "github.com/z7zmey/php-parser/node/expr" + + "github.com/z7zmey/php-parser/node" + "github.com/z7zmey/php-parser/node/stmt" + "github.com/z7zmey/php-parser/php5" + "github.com/z7zmey/php-parser/php7" +) + +func TestBitwiseNot(t *testing.T) { + src := `