Parse() 공개 메소드

public Parse ( object obj ) : object
obj object
리턴 object
 public void DoubleParserShouldConvertIntToDouble()
 {
     var parser = new DoubleArgumentParser();
     var result = parser.Parse(3);
     Assert.AreEqual(3d, result);
 }
 public void DoubleParserShouldThrowIfArgumentIsNull()
 {
     var parser = new DoubleArgumentParser();
     parser.Parse(null);
 }
 public void DoubleParserConvertStringToDouble()
 {
     var parser = new DoubleArgumentParser();
     var result = parser.Parse("3.3");
     Assert.AreEqual(3.3d, result);
 }