gitlab-ci-example/test/ConversionsTest.php

16 lines
237 B
PHP

<?php
namespace Adrium\Example;
class ConversionsTest
extends \PHPUnit\Framework\TestCase
{
public function testGetInt()
{
$x = new Conversions;
$this->assertSame(3, $x->getInt(3));
$this->assertSame(3, $x->getInt('3'));
}
}