graph = new Graph( file_get_contents(__DIR__ . '/formel.txt'), file_get_contents(__DIR__ . '/parameter.txt'), ); } public function testGraph(): void { $this->graph->addCalcFormel(new Part( type: PartType::CalcFormel, name: 'test1', unParsed: '$Ftest2$F+$Ftest3$F+10', )); assertTrue($this->graph->build()); } }