public void FindPath_ReturnsNullGraphPath() { var algorithm = new NullAlgorithm(); var path = algorithm.FindPath(); Assert.IsTrue(path.IsNullObject()); }
protected PathFindingModel(ILog log, IAssembleClasses algorithms, IMainModel mainViewModel, BaseEndPoints endPoints) { AlgorithmKeys = algorithms.ClassesNames.ToList(); this.mainViewModel = mainViewModel; DelayTime = 4; timer = new Stopwatch(); path = new NullGraphPath(); algorithm = new NullAlgorithm(); graph = mainViewModel.Graph; assembleClasses = algorithms; this.endPoints = endPoints; this.log = log; }