toHyphenatedString() 공개 메소드

public toHyphenatedString ( ) : string
리턴 string
예제 #1
0
        public void testToHyphenatedString()
        {
            SocSecNum theSSN = new SocSecNum("123456789");

            Assert.AreEqual("123-45-6789", theSSN.toHyphenatedString(), "Expected 123-45-6789");
        }
예제 #2
0
파일: SocSecNumTest.cs 프로젝트: OSEHRA/mdo
 public void testToHyphenatedString()
 {
     SocSecNum theSSN = new SocSecNum("123456789");
     Assert.AreEqual("123-45-6789", theSSN.toHyphenatedString(), "Expected 123-45-6789");
 }