public override bool Equals(StateRep s) { var other = s as SubStateRep; return(base.Equals(s) && (other != null) && (other.SuperStateName == this.SuperStateName)); }
public void SetUp() { this.stateRep = new SubStateRep(StateName, SuperStateName, null); this.builder = new FSMRepresentationBuilder(); }
public void SetUp() { this.superState = new SuperStateRep(StateName, null); }
public virtual bool Equals(StateRep s) => (s != null) && (s.StateName == this.StateName);
public override bool Equals(StateRep s) => base.Equals(s) && (s is SuperStateRep);
public override bool Equals(StateRep s) => base.Equals(s) && (s is NormalStateRep);
public void SetUp() { this.stateRep = new NormalStateRep(StateName, null); }