ToString() 공개 메소드

public ToString ( ) : string
리턴 string
예제 #1
0
        public void testSensitivityConstructor()
        {
            SocSecNum theSSN = new SocSecNum(true);

            Assert.IsTrue(theSSN.Sensitive);
            Assert.IsTrue(theSSN.SensitivityString == theSSN.ToString());
        }
예제 #2
0
        public void testSensitiveSsn()
        {
            SocSecNum theSSN = new SocSecNum("*SENSITIVE*");

            Assert.IsTrue(theSSN.Sensitive);
            Assert.IsTrue(theSSN.SensitivityString == theSSN.ToString());
        }
예제 #3
0
        public void testToString()
        {
            SocSecNum theSSN = new SocSecNum("123456789");

            Assert.AreEqual("123456789", theSSN.ToString(), "Expected 123456789");
        }
예제 #4
0
파일: SocSecNumTest.cs 프로젝트: OSEHRA/mdo
 public void testToString()
 {
     SocSecNum theSSN = new SocSecNum("123456789");
     Assert.AreEqual("123456789", theSSN.ToString(), "Expected 123456789");
 }
예제 #5
0
파일: SocSecNumTest.cs 프로젝트: OSEHRA/mdo
 public void testSensitivityConstructor()
 {
     SocSecNum theSSN = new SocSecNum(true);
     Assert.IsTrue(theSSN.Sensitive);
     Assert.IsTrue(theSSN.SensitivityString == theSSN.ToString());
 }
예제 #6
0
파일: SocSecNumTest.cs 프로젝트: OSEHRA/mdo
 public void testSensitiveSsn()
 {
     SocSecNum theSSN = new SocSecNum("*SENSITIVE*");
     Assert.IsTrue(theSSN.Sensitive);
     Assert.IsTrue(theSSN.SensitivityString == theSSN.ToString());
 }