php-ml/tests/Phpml/NeuralNetwork/Node/BiasTest.php
2016-08-05 10:20:31 +02:00

18 lines
302 B
PHP

<?php
declare (strict_types = 1);
namespace tests\Phpml\NeuralNetwork\Node;
use Phpml\NeuralNetwork\Node\Bias;
class BiasTest extends \PHPUnit_Framework_TestCase
{
public function testBiasOutput()
{
$bias = new Bias();
$this->assertEquals(1.0, $bias->getOutput());
}
}