Skip to content

Commit

Permalink
Update mathcat_test.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ralferlebach authored Oct 19, 2024
1 parent 0fa6835 commit eeaaab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mathcat_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public static function conversion_of_array_to_vector_provider(): array {
'modified and reordered' => [
'given' => [0, 'first' => 2, 'second' => [7, 9, 8], 'third' => 5],
'expected' => [0 => 0.0, 'first' => 2.0, 'second' => [1 => 7.0, 3 => 9.0, 2 => 8.0], 'third' => 5.0],
'structure' => [0 => 0, 'first' => 1, 'second' => [0 => 2, 1 => 4, 2 => 3], 'third' => 5],
'structure' => [0 => 0, 'first' => 1, 'second' => [0 => 2, 1 => 3, 2 => 4], 'third' => 5],
],

// Forbidden cases: strings in array, empty arrays.
Expand Down

0 comments on commit eeaaab6

Please sign in to comment.