private IEnumerable <int> ConvertNumbers(IEnumerable <string> numbers) { return(numbers.Select(number => (int)BaseChange.ArbitraryToDecimalSystem(number, this._radix)).ToArray()); }
public void Base16To2() { var toDecimal = BaseChange.ArbitraryToDecimalSystem("3a4F", 16); Assert.AreEqual("11101001001111", BaseChange.DecimalToArbitrarySystem(toDecimal, 2)); }