checkIntent( $input ); $this->assertTrue( $ret ); } public function testIntentShouldFailIfNotActive() { $texVC = new TexVC(); $resultT = $texVC->check( "\\intent{\\binom{n}{k}}{intent='binomial(\$n,\$k)'}", [ "useintent" => false, ] ); $this->assertEquals( "C", $resultT["status"] ); $this->assertStringContainsString( "virtual intent package required", $resultT["details"] ); } }