Skip to content

Commit

Permalink
Update mathcat_test.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ralferlebach committed Oct 19, 2024
1 parent 63416f2 commit 1144928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mathcat_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function test_newton_raphson_multi_stable(): void {
* @return void
*/
public function test_conversion_of_array_to_vector($given, $expected, $structure): void {
$array = $old;
$array = $given;
$arraystructure = mathcat::array_to_vector($array);
$this->assertEquals($arraystructure, $structure);

Expand All @@ -78,7 +78,7 @@ public function test_conversion_of_array_to_vector($given, $expected, $structure
*
* @return array
*/
public static function conversion_of_array_to_vector_provider(): array {
public static function conversionofarraytovectorprovider(): array {
return [
// Simple cases: int, float, linear indexed array, linear assoc array.
'int' => ['given' => [9], 'expected' => [9.0], 'structure' => [0 => 0]],
Expand Down

0 comments on commit 1144928

Please sign in to comment.