From 85f1b74777d34ded41913259fdeb3aa6449c712d Mon Sep 17 00:00:00 2001 From: scarf Date: Fri, 15 Sep 2023 09:30:45 +0900 Subject: [PATCH] style: format array --- tests/creature_test.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/creature_test.cpp b/tests/creature_test.cpp index dc13992adfa2..c2612f212cac 100644 --- a/tests/creature_test.cpp +++ b/tests/creature_test.cpp @@ -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,