kernel = new Polynomial(3, 1e-3); } /** * @test */ public function build() : void { $this->assertInstanceOf(Polynomial::class, $this->kernel); $this->assertInstanceOf(Kernel::class, $this->kernel); } /** * @test */ public function options() : void { $expected = [ 102 => 1, 201 => 1e-3, 103 => 3, 205 => 0.0, ]; $this->assertEquals($expected, $this->kernel->options()); } }