Skip to content

Commit

Permalink
style: format array
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Sep 15, 2023
1 parent 7d472a9 commit 85f1b74
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/creature_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@
#include "bodypart.h"
#include "rng.h"

float expected_weights_base[][12] = { { 20, 0, 0, 0, 15, 15, 0, 0, 25, 25, 0, 0 },
float expected_weights_base[][12] = {
{ 20, 0, 0, 0, 15, 15, 0, 0, 25, 25, 0, 0 },
{ 33.33, 2.33, 0.33, 0, 20, 20, 0, 0, 12, 12, 0, 0 },
{ 36.57, 5.71, .57, 0, 22.86, 22.86, 0, 0, 5.71, 5.71, 0, 0 }
{ 36.57, 5.71, 0.57, 0, 22.86, 22.86, 0, 0, 5.71, 5.71, 0, 0 }
};

float expected_weights_max[][12] = { { 2000, 0, 0, 0, 1191.49, 1191.49, 0, 0, 2228.12, 2228.12, 0, 0 },
float expected_weights_max[][12] = {
{ 2000, 0, 0, 0, 1191.49, 1191.49, 0, 0, 2228.12, 2228.12, 0, 0 },
{ 3333, 1516.92, 78.99, 0, 465.08, 465.08, 0, 0, 625.41, 625.41, 0, 0 },
{ 3657, 3842.91, 139.72, 0, 374.07, 374.07, 0, 0, 315.09, 315.09, 0, 0 }
{ 3657, 3842.91, 139.72, 0, 374.07, 374.07, 0, 0, 315.09, 315.09, 0, 0 }
};

static void calculate_bodypart_distribution( const enum m_size asize, const enum m_size dsize,
Expand Down

0 comments on commit 85f1b74

Please sign in to comment.