Faster
This commit is contained in:
parent
2fbbb93452
commit
f89cdc0c3d
File diff suppressed because one or more lines are too long
@ -38,6 +38,8 @@ class CalcTest extends TestCase
|
|||||||
|
|
||||||
public function testPrice(): void
|
public function testPrice(): void
|
||||||
{
|
{
|
||||||
|
$this->engine->calc();
|
||||||
|
file_put_contents("/tmp/f1.txt", print_r($this->engine->getDebugCalcFormel(),true ));
|
||||||
self::assertSame(131.86, $this->engine->getPrice());
|
self::assertSame(131.86, $this->engine->getPrice());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,7 +47,6 @@ 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/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