File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 10
10
namespace SebastianBergmann \Comparator ;
11
11
12
12
use const INF ;
13
+ use function acos ;
13
14
use PHPUnit \Framework \TestCase ;
14
15
15
16
/**
@@ -48,9 +49,9 @@ public function acceptsSucceedsProvider()
48
49
[5.0 , 0 ],
49
50
['5 ' , 4.5 ],
50
51
[1.2e3 , 7E-10 ],
51
- [3 , \ acos (8 )],
52
- [\ acos (8 ), 3 ],
53
- [\ acos (8 ), \ acos (8 )],
52
+ [3 , acos (8 )],
53
+ [acos (8 ), 3 ],
54
+ [acos (8 ), acos (8 )],
54
55
];
55
56
}
56
57
@@ -109,9 +110,9 @@ public function assertEqualsFailsProvider()
109
110
[1.2e3 , 1201 ],
110
111
[2.3 , 2.5 , 0.2 ],
111
112
[3 , 3.05 , 0.04 ],
112
- [3 , \ acos (8 )],
113
- [\ acos (8 ), 3 ],
114
- [\ acos (8 ), \ acos (8 )],
113
+ [3 , acos (8 )],
114
+ [acos (8 ), 3 ],
115
+ [acos (8 ), acos (8 )],
115
116
[1 / 3 , 1 - 2 / 3 ],
116
117
[5.5E+123 , '5.7E+123 ' ],
117
118
[5.5E-123 , '5.7E-123 ' ],
You can’t perform that action at this time.
0 commit comments