Faster
This commit is contained in:
parent
3ab2cbae60
commit
2fbbb93452
File diff suppressed because one or more lines are too long
@ -41,7 +41,6 @@ class CalcTest extends TestCase
|
|||||||
public function testPrice(): void
|
public function testPrice(): void
|
||||||
{
|
{
|
||||||
$this->engine->calc();
|
$this->engine->calc();
|
||||||
file_put_contents("/tmp/f1.txt", print_r($this->engine->getDebugCalcFormel(),true ));
|
|
||||||
$this->assertSame(44.07, $this->engine->getPrice());
|
$this->assertSame(44.07, $this->engine->getPrice());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -45,7 +45,7 @@ class CalcTest extends TestCase
|
|||||||
{
|
{
|
||||||
$this->engine->setVariable('produktart_nopresentationpdf', 61);
|
$this->engine->setVariable('produktart_nopresentationpdf', 61);
|
||||||
$this->engine->calc();
|
$this->engine->calc();
|
||||||
// file_put_contents("/tmp/t1.txt", print_r($this->engine->getDebugCalcVariables(),true).print_r($this->engine->getDebugCalcFormel(),true));
|
file_put_contents("/tmp/f1.txt", print_r($this->engine->getDebugCalcFormel(),true ));
|
||||||
self::assertSame(199.6, $this->engine->getPrice());
|
self::assertSame(199.6, $this->engine->getPrice());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user