���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/tests/phpunit/unit/includes/libs/Metrics/SampleTest.php
���ѧ٧ѧ�
<?php namespace Wikimedia\Tests\Metrics; use PHPUnit\Framework\TestCase; use Wikimedia\Metrics\Sample; /** * @covers \Wikimedia\Metrics\Sample */ class SampleTest extends TestCase { public function testSample() { $s = new Sample( [ 'labels' => [ 'a', 'b' ], 'value' => 1 ] ); $this->assertEquals( [ 'a', 'b' ], $s->getLabels() ); $this->assertSame( 1.0, $s->getValue() ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.4 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�