public void call_to_method_getFirstOperand_on_ObjectAdapter_should_return_the_first_operand()
        {
            ITargetInterface objectAdapter = new ObjectAdapter(_adaptee);

            Assert.That(objectAdapter.GetOperands()[0], Is.EqualTo(_adaptee.GetFirstOperand()));
        }
Ejemplo n.º 2
0
 public List <double> GetOperands()
 {
     return(new List <double> {
         _adaptee.GetFirstOperand(), _adaptee.GetSecondOperand()
     });
 }