Completed
Pull Request — master (#912)
by
unknown
07:49
created

CharsetTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testConvertInteger() 0 5 1
1
<?php
2
3
namespace N98\Util\Unicode;
4
5
class CharsetTest extends \PHPUnit_Framework_TestCase
6
{
7
    public function testConvertInteger()
8
    {
9
        $this->assertEquals('✖', Charset::convertInteger(Charset::UNICODE_CROSS_CHAR));
10
        $this->assertEquals('✔', Charset::convertInteger(Charset::UNICODE_CHECKMARK_CHAR));
11
    }
12
}
13