Page MenuHomeDevCentral

SorensenDiceCoefficientTest.php
No OneTemporary

SorensenDiceCoefficientTest.php

<?php
declare(strict_types=1);
namespace Keruald\OmniTools\Tests\Strings;
use Keruald\OmniTools\Strings\SorensenDiceCoefficient;
use PHPUnit\Framework\TestCase;
class SorensenDiceCoefficientTest extends TestCase {
public function testCoefficient () : void {
$actual = new SorensenDiceCoefficient('night', 'nacht');
$this->assertEquals(0.25, $actual->compute());
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Feb 28, 22:47 (23 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2436968
Default Alt Text
SorensenDiceCoefficientTest.php (396 B)

Event Timeline