/**
  * @dataProvider testProvider
  */
 function test_arabic_to_roman_recursive($expected, $actual)
 {
     $rn = new RomanNumerals();
     $this->assertEquals($expected, $rn->arabicToRomanRecursive($actual));
 }
Example #2
0
 /**
  * @dataProvider setAanDataRoman
  * @covers RomanNumerals::toDecimal
  * @todo Implement testToDecimal().
  */
 public function testToDecimal($roman, $result)
 {
     //$this->assertEquals($this->object->toDecimal('mmmdccclxxxvMMMDCCCLXXXVIII'), '3888888');
     $this->assertEquals($this->object->toDecimal($roman), $result);
 }