예제 #1
0
        public void AreDigits_WithValidValue()
        {
            string    pesel     = "";
            PeselInfo PeselInfo = new PeselInfo(pesel);
            bool      expected  = true;
            bool      actual    = PeselInfo.AreDigits();

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void AreDigits_withNoNumericValue()
        {
            string    pesel     = "";
            PeselInfo PeselInfo = new PeselInfo(pesel);
            bool      expected  = false;
            bool      actual    = PeselInfo.AreDigits();

            Assert.AreEqual(expected, actual);
        }