예제 #1
0
 public void Test_Plus_SingleDigit_Over_Carry()
 {
     CalcCore.Plus(CalcCore.ConvertToBytes("1"), CalcCore.ConvertToBytes("9"))
     .Should().HaveCount(2).And.Equal(1, 0);
 }
예제 #2
0
 public void Test_Convert_String_To_Bytes()
 {
     CalcCore.ConvertToBytes("123")
     .Should().HaveCount(3).And.Equal(1, 2, 3);
 }