11use PHPUnit\Framework\TestCase;
13require_once(
'./libs/composer/vendor/autoload.php');
21 $this->assertSame(
'hello', $value->asString());
28 $this->assertSame(
'6', $value->asString());
35 $this->assertSame(6, $value->getValue());
42 $this->assertSame(
'6', $value->asString());
49 $this->assertSame(6.0, $value->getValue());
54 $this->expectNotToPerformAssertions();
An exception for terminatinating execution or to throw for unit testing.
testFloatIsAlphanumericValueAndCanBeConvertedToString()
testTextIsNotAlphanumericAndWillThrowException()
testSimpleStringIsCorrectAlphanumericValueAndCanBeConvertedToString()
testIntegerIsAlphanumericValueAndCanBeConvertedToString()
testIntegerIsAlphanumericValue()
testFloatIsAlphanumericValue()