Skip to content

Commit

Permalink
apply code-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored and github-actions[bot] committed Feb 20, 2025
1 parent 3ec998b commit 537a923
Showing 1 changed file with 79 additions and 25 deletions.
104 changes: 79 additions & 25 deletions tests/test_paramdict.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 537a923

Please sign in to comment.