public MainReceiver(ITransponderReceiver transponderReceiver, IFilterFlightLimits _filter, IWrite _writer, CheckCollision _checkcollision, ICompareTracks _comparetracks, ITrackParsing _parseTracks) { transponderReceiver.TransponderDataReady += MyReceiver_TransponderDataReady; writer = _writer; filter = _filter; checkcollision = _checkcollision; parseTracks = _parseTracks; comparetracks = _comparetracks; }
public void SetUp() { receiver = Substitute.For <ITransponderReceiver>(); track = new Track(); parseTracks = new TrackParsing(track); write = Substitute.For <WriteToConsole>(); filter = new FilterFlightLimits(); collision = Substitute.For <CheckCollision>(); comparetracks = Substitute.For <ICompareTracks>(); _mainreceiver = new MainReceiver(receiver, filter, write, collision, comparetracks, parseTracks); }
public void SetUp() { receiver = Substitute.For <ITransponderReceiver>(); track = new Track(); parseTracks = new TrackParsing(track); write = Substitute.For <IWrite>(); filter = new FilterFlightLimits(); collision = Substitute.For <CheckCollision>(); _compare = new CompareTracks(); _reciever = new MainReceiver(receiver, filter, write, collision, _compare, parseTracks); }
public void SetUp() { _receiver = Substitute.For <ITransponderReceiver>(); _track = new Track(); _parseTracks = new TrackParsing(_track); _writeToConsole = Substitute.For <WriteToConsole>(); _filter = new FilterFlightLimits(); _collision = Substitute.For <CheckCollision>(); _compare = new CompareTracks(); _velocityCalc = new VelocityCalc(); _courseCalc = new CourseCalc(); _reciever = new MainReceiver(_receiver, _filter, _write, _collision, _compare, _parseTracks); }
public void SetUp() { _receiver = Substitute.For <ITransponderReceiver>(); _track = new Track(); _parseTracks = new TrackParsing(_track); _filter = new FilterFlightLimits(); _collision = new CheckCollision(); _comparetracks = new CompareTracks(); _writeToConsole = Substitute.For <WriteToConsole>(); _alarm = Substitute.For <ConflictAlarm>(); _mainreciever = new MainReceiver(_receiver, _filter, _write, _collision, _comparetracks, _parseTracks); }