TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
376 B
13 lines
376 B
<?php
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
final class StdOrderedMapPolyfillTest extends TestCase
|
|
{
|
|
public function testUsesCamelCaseFactoryName(): void
|
|
{
|
|
self::assertSame([], std::orderedMap(Type::String, Type::Int));
|
|
self::assertTrue(method_exists(std::class, 'orderedMap'));
|
|
self::assertFalse(method_exists(std::class, 'ordered_map'));
|
|
}
|
|
}
|
|
|