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

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

            Assert.AreEqual(expected, actual);
        }