Test Failed
Pull Request — master (#119)
by Jordan
06:20
created

DecimalTrigBasicBench::benchSin()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
4
namespace Samsara\Fermat\Values;
5
6
class DecimalTrigBasicBench
7
{
8
9
    public function benchSin()
10
    {
11
        $obj = new ImmutableDecimal(1);
12
        $obj->sin();
13
    }
14
15
    public function benchCos()
16
    {
17
        $obj = new ImmutableDecimal(1);
18
        $obj->cos();
19
    }
20
21
    public function benchTan()
22
    {
23
        $obj = new ImmutableDecimal(1);
24
        $obj->tan();
25
    }
26
27
    public function benchSec()
28
    {
29
        $obj = new ImmutableDecimal(1);
30
        $obj->sec();
31
    }
32
33
    public function benchCsc()
34
    {
35
        $obj = new ImmutableDecimal(1);
36
        $obj->csc();
37
    }
38
39
    public function benchCot()
40
    {
41
        $obj = new ImmutableDecimal(1);
42
        $obj->cot();
43
    }
44
45
    public function benchSinh()
46
    {
47
        $obj = new ImmutableDecimal(1);
48
        $obj->sinh();
49
    }
50
51
    public function benchCosh()
52
    {
53
        $obj = new ImmutableDecimal(1);
54
        $obj->cosh();
55
    }
56
57
    public function benchTanh()
58
    {
59
        $obj = new ImmutableDecimal(1);
60
        $obj->tanh();
61
    }
62
63
    public function benchSech()
64
    {
65
        $obj = new ImmutableDecimal(1);
66
        $obj->sech();
67
    }
68
69
    public function benchCsch()
70
    {
71
        $obj = new ImmutableDecimal(1);
72
        $obj->csch();
73
    }
74
75
    public function benchCoth()
76
    {
77
        $obj = new ImmutableDecimal(1);
78
        $obj->coth();
79
    }
80
81
}