Skip to content

Commit 7866e9c

Browse files
committed
More Test for Tie Breaking
1 parent 339d8d9 commit 7866e9c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

test.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ int input6_1[TEST_SIZE][11] = {
139139
{20, 200, 5, 2, 3, 25, 5, 2, 3, 25, 5},
140140
{7, 6, 5, 4, 3, 2, 1, 4, 3, 2, 1},
141141
{20, 200, 5, 2, 3, 25, 5, 2, 3, 25, 5},
142-
{8, -24, -29, 60, -18, 20, 24, -13, -10, -26, 15 }
142+
{8, -24, -29, 60, -18, 20, 24, -13, -10, -26, 15 },
143+
{38, 6, 1, 90, 12, 50, 54, 17, 20, 4, 45 },
143144
};
144145

145146
int input6_2[TEST_SIZE][3] = {
@@ -149,7 +150,8 @@ int input6_2[TEST_SIZE][3] = {
149150
{5, 3, 5},
150151
{0, 0, 0},
151152
{0, 0, 25},
152-
{-13, -19, -26}
153+
{-13, -19, -26},
154+
{17, 11, 4}
153155
};
154156

155157

@@ -196,7 +198,8 @@ int expected_output6[TEST_SIZE][11] = {
196198
{2, 20, 25, 200},
197199
{1, 2, 3, 4, 5, 6, 7},
198200
{2, 3, 5, 20, 200},
199-
{-29, -24, -18, -10, 8, 15, 20, 24, 60}
201+
{-29, -24, -18, -10, 8, 15, 20, 24, 60},
202+
{1, 6, 12, 20, 38, 45, 50, 54, 90}
200203
};
201204

202205

0 commit comments

Comments
 (0)