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
Sun, Nov 16, 13:25 (2 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3152539
Default Alt Text
SorensenDiceCoefficientTest.php (396 B)

Event Timeline