Inheritance: AbstractNode, IValue
 public void prints_int_value()
 {
     int value = 3;
     var val = new IntValue(value);
     var result = _printer.Visit(val);
     result.ShouldBe(value);
 }
 protected bool Equals(IntValue other)
 {
     return Value == other.Value;
 }
Example #3
0
 protected bool Equals(IntValue other)
 {
     return(Value == other.Value);
 }