예제 #1
0
        public void AssessmentTest4()
        {
            var str = "00000-42a1234";

            var result = AAssessment.StringToInteger(str);

            result.Should().Be(0);
        }
예제 #2
0
        public void AssessmentTest1()
        {
            var str = "-12";

            var result = AAssessment.StringToInteger(str);

            result.Should().Be(-12);
        }
예제 #3
0
        public void AssessmentTest2()
        {
            var str = "+1";

            var result = AAssessment.StringToInteger(str);

            result.Should().Be(1);
        }