19 lines
318 B
PHP
Raw Normal View History

<?php
2016-11-20 22:53:17 +01:00
declare(strict_types=1);
namespace Phpml\Tests\NeuralNetwork\Node;
use Phpml\NeuralNetwork\Node\Bias;
2017-02-03 12:58:25 +01:00
use PHPUnit\Framework\TestCase;
2017-02-03 12:58:25 +01:00
class BiasTest extends TestCase
{
public function testBiasOutput(): void
{
$bias = new Bias();
$this->assertEquals(1.0, $bias->getOutput());
}
}