public void Multiply_TwoBigIntegers_ReturnsCorrectResult(string left, string right, string expectedResult) { KaratsubyMultiplyResult multiplyResult = KaratsubyMethod.Multiply(left, right); string calculatedValue = String.Join("", multiplyResult.Result); Assert.That(calculatedValue, Is.EqualTo(expectedResult)); MultiplyStatistics statistics = multiplyResult.Statistics; int valueOf105 = statistics.TryGetAdbcCount("105"); int valueOf72 = statistics.TryGetAdbcCount("72"); int valueOf12 = statistics.TryGetAdbcCount("12"); }
public KaratsubyMultiplyResult(int[] result, MultiplyStatistics statistics) { Result = result; Statistics = statistics; }