assertTrue(count($result) > 1456, 'count of ' . count($result)); $this->assertTrue(in_array('thumbs-up', $result, true)); } /** * Show that we are still API compatible/valid. * * @return void */ public function testCollectSvg(): void { $path = TEST_FILES . 'font_icon' . DS . 'fa5' . DS . 'solid.svg'; $result = FontAwesome5IconCollector::collect($path); $this->assertTrue(count($result) > 1000, 'count of ' . count($result)); $this->assertTrue(in_array('thumbs-up', $result, true)); } /** * Show that we are still API compatible/valid. * * @return void */ public function testCollectYml(): void { $path = TEST_FILES . 'font_icon' . DS . 'fa5' . DS . 'icons.yml'; $result = FontAwesome5IconCollector::collect($path); $this->assertTrue(count($result) > 1400, 'count of ' . count($result)); $this->assertTrue(in_array('thumbs-up', $result, true)); } }