public void Multiply_Decimal() { IStack <Decimal> stack = new BoundedArray <Decimal>(4.0m, 2.0m); stack.Multiply(); Assert.That(stack.Pop()).Equals(4.0m * 2.0m); }
public void Multiply_Double() { IStack <Double> stack = new BoundedArray <Double>(4.0, 2.0); stack.Multiply(); Assert.That(stack.Pop()).Equals(4.0 * 2.0); }
public void Multiply_Single() { IStack <Single> stack = new BoundedArray <Single>(4.0f, 2.0f); stack.Multiply(); Assert.That(stack.Pop()).Equals(4.0f * 2.0f); }
public void Multiply_UInt64() { IStack <UInt64> stack = new BoundedArray <UInt64>(4, 2); stack.Multiply(); Assert.That(stack.Pop()).Equals(4 * 2); }
public void Multiply_Int32() { IStack <Int32> stack = new BoundedArray <Int32>(4, 2); stack.Multiply(); Assert.That(stack.Pop()).Equals(4 * 2); }
public void Multiply_nuint() { IStack <nuint> stack = new BoundedArray <nuint>(4, 2); stack.Multiply(); Assert.That(stack.Pop()).Equals(4 * 2); }