gitlab-ci-example/test/ConversionsTest.php

16 lines
237 B
PHP
Raw Permalink Normal View History

2016-12-15 19:01:29 +01:00
<?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'));
}
}