Skip to content

Commit 7a8467f

Browse files
committed
Make round required
1 parent 15890c8 commit 7a8467f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Exercise/InfiniteDivisions.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ public function configure(ExerciseDispatcher $dispatcher): void
5757
public function getArgs(): array
5858
{
5959
return [
60+
[
61+
(string) $this->faker->randomFloat(3, 10, 100),
62+
'0'
63+
],
6064
[
6165
(string) $this->faker->randomFloat(3, 10, 100),
6266
(string) $this->faker->randomFloat(3, 0, 10)
@@ -66,7 +70,7 @@ public function getArgs(): array
6670

6771
public function getRequiredFunctions(): array
6872
{
69-
return ['fdiv'];
73+
return ['fdiv', 'round'];
7074
}
7175

7276
public function getBannedFunctions(): array

0 commit comments

Comments
 (0)