예제 #1
0
        public void Given_An_Integer_Should_Compute_IsDuoDigit(string str1, string str2, bool expected)
        {
            // arrange
            // act
            var isTwin = IsTwinKata.IsTwin(str1, str2);

            // assert
            isTwin.Should().Be(expected);
        }
예제 #2
0
 public bool Solution()
 {
     return(IsTwinKata.IsTwin(_str1, _str2));
 }