name: VersionTest class_comment: '# * @author Bernhard Schussek ' dependencies: - name: TestCase type: class source: PHPUnit\Framework\TestCase - name: Version type: class source: Symfony\Component\Intl\Util\Version properties: [] methods: - name: testNormalize visibility: public parameters: - name: precision - name: version - name: result comment: "# * @author Bernhard Schussek \n# */\n# class VersionTest\ \ extends TestCase\n# {\n# public static function normalizeProvider()\n# {\n#\ \ return [\n# [null, '1', '1'],\n# [null, '1.2', '1.2'],\n# [null, '1.2.3', '1.2.3'],\n\ # [null, '1.2.3.4', '1.2.3.4'],\n# [1, '1', '1'],\n# [1, '1.2', '1'],\n# [1, '1.2.3',\ \ '1'],\n# [1, '1.2.3.4', '1'],\n# [2, '1', '1'],\n# [2, '1.2', '1.2'],\n# [2,\ \ '1.2.3', '1.2'],\n# [2, '1.2.3.4', '1.2'],\n# [3, '1', '1'],\n# [3, '1.2', '1.2'],\n\ # [3, '1.2.3', '1.2.3'],\n# [3, '1.2.3.4', '1.2.3'],\n# [4, '1', '1'],\n# [4,\ \ '1.2', '1.2'],\n# [4, '1.2.3', '1.2.3'],\n# [4, '1.2.3.4', '1.2.3.4'],\n# ];\n\ # }\n# \n# /**\n# * @dataProvider normalizeProvider" - name: compareProvider visibility: public parameters: [] comment: null - name: testCompare visibility: public parameters: - name: precision - name: version1 - name: operator - name: version2 - name: result comment: '# * @dataProvider compareProvider' traits: - PHPUnit\Framework\TestCase - Symfony\Component\Intl\Util\Version interfaces: []