From 537a923a556a564987ce93b837e7022242ad1539 Mon Sep 17 00:00:00 2001 From: nihui <171016+nihui@users.noreply.github.com> Date: Thu, 20 Feb 2025 07:53:56 +0000 Subject: [PATCH] apply code-format changes --- tests/test_paramdict.cpp | 104 +++++++++++++++++++++++++++++---------- 1 file changed, 79 insertions(+), 25 deletions(-) diff --git a/tests/test_paramdict.cpp b/tests/test_paramdict.cpp index c787fe2bafd..30337106cfc 100644 --- a/tests/test_paramdict.cpp +++ b/tests/test_paramdict.cpp @@ -239,8 +239,7 @@ static int test_paramdict_2() static int test_paramdict_3() { - const unsigned char mem[] = - { + const unsigned char mem[] = { 0x00, 0x00, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0xfb, 0xa4, 0xff, 0xff, @@ -338,8 +337,7 @@ static int test_paramdict_3() static int test_paramdict_4() { - const unsigned char mem[] = - { + const unsigned char mem[] = { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xfb, 0xa4, 0xff, 0xff, @@ -428,27 +426,83 @@ static int test_paramdict_4() static int test_paramdict_5() { - const unsigned char mem[] = - { - 0x98, 0xa4, 0xff, 0xff, - 0x0c, 0x00, 0x00, 0x00, - 0x62, 0x69, 0x6a, 0x2c, - 0x62, 0x6a, 0x6b, 0x2d, - 0x3e, 0x62, 0x69, 0x6b, - 0x97, 0xa4, 0xff, 0xff, - 0x1f, 0x00, 0x00, 0x00, - 0x54, 0x68, 0x69, 0x73, - 0x5f, 0x69, 0x73, 0x5f, - 0x61, 0x5f, 0x76, 0x65, - 0x72, 0x79, 0x5f, 0x6c, - 0x6f, 0x6e, 0x67, 0x5f, - 0x6c, 0x6f, 0x6e, 0x67, - 0x5f, 0x73, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x00, - 0x96, 0xa4, 0xff, 0xff, - 0x01, 0x00, 0x00, 0x00, - 0x58, 0x00, 0x00, 0x00, - 0x17, 0xff, 0xff, 0xff, + const unsigned char mem[] = { + 0x98, + 0xa4, + 0xff, + 0xff, + 0x0c, + 0x00, + 0x00, + 0x00, + 0x62, + 0x69, + 0x6a, + 0x2c, + 0x62, + 0x6a, + 0x6b, + 0x2d, + 0x3e, + 0x62, + 0x69, + 0x6b, + 0x97, + 0xa4, + 0xff, + 0xff, + 0x1f, + 0x00, + 0x00, + 0x00, + 0x54, + 0x68, + 0x69, + 0x73, + 0x5f, + 0x69, + 0x73, + 0x5f, + 0x61, + 0x5f, + 0x76, + 0x65, + 0x72, + 0x79, + 0x5f, + 0x6c, + 0x6f, + 0x6e, + 0x67, + 0x5f, + 0x6c, + 0x6f, + 0x6e, + 0x67, + 0x5f, + 0x73, + 0x74, + 0x72, + 0x69, + 0x6e, + 0x67, + 0x00, + 0x96, + 0xa4, + 0xff, + 0xff, + 0x01, + 0x00, + 0x00, + 0x00, + 0x58, + 0x00, + 0x00, + 0x00, + 0x17, + 0xff, + 0xff, + 0xff, }; ParamDictTest pdt;