This commit is contained in:
Thomas Peterson 2025-06-06 14:43:52 +02:00
parent ff0f6ca0d5
commit 7f00ee991e
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -39,13 +39,13 @@ class CalcComplexTest extends TestCase
$this->engine = null; $this->engine = null;
} }
public function testDefaultPrice(): void public function tesDefaultPrice(): void
{ {
$this->engine->calc(); $this->engine->calc();
$this->assertSame(31.63, $this->engine->getPrice()); $this->assertSame(31.63, $this->engine->getPrice());
} }
public function testAuflage500(): void public function tesAuflage500(): void
{ {
$this->engine->setVariable('auflage', 500); $this->engine->setVariable('auflage', 500);
$this->engine->calc(); $this->engine->calc();
@ -60,7 +60,7 @@ class CalcComplexTest extends TestCase
$this->assertSame(46.25, $this->engine->getPrice()); $this->assertSame(46.25, $this->engine->getPrice());
} }
public function testAndereProduktArt3(): void public function tesAndereProduktArt3(): void
{ {
$this->engine->setVariable('produktart_nopresentationpdf', 3); $this->engine->setVariable('produktart_nopresentationpdf', 3);
$this->assertSame(36.22, $this->engine->getPrice()); $this->assertSame(36.22, $this->engine->getPrice());