From 2819c7e0ebf7bb9b1bbf2d6277f1a86d33e4b936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 18 Apr 2022 16:09:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E7=A7=BB=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/mtpsapi/mtpsapi_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/platformapi/mtpsapi/mtpsapi_test.go b/platformapi/mtpsapi/mtpsapi_test.go index a38940eb..3b0515b9 100644 --- a/platformapi/mtpsapi/mtpsapi_test.go +++ b/platformapi/mtpsapi/mtpsapi_test.go @@ -136,3 +136,12 @@ func TestCheckOrder(t *testing.T) { //} fmt.Println(IsOpen(err)) } + +func TestNumber(t *testing.T) { + fmt.Println("1", -2&4 != 0) + fmt.Println("2", 0&4 != 0) + fmt.Println("3", 1&4 != 0) + fmt.Println("4", 2&4 != 0) + fmt.Println("5", 4&4 != 0) + fmt.Println("6", 5&4 != 0) +}