public void AlgorithmSequenceDataProviderAvgAproxTest(string skill, int avgAprox) { List <AlgDynamicSequenceModel> sequenceData = new List <AlgDynamicSequenceModel>(_algorithmSequenceDataProvider.ProvideSequenceData(_resultData)).ToList(); AlgDynamicSequenceModel algSeqData = sequenceData.Find(p => p.Name == skill); Assert.AreEqual(avgAprox, algSeqData.AvgAprox); }
public void AlgorithmSequenceDataProviderDeviatonTest(string skill, double deviation) { List <AlgDynamicSequenceModel> sequenceData = new List <AlgDynamicSequenceModel>(_algorithmSequenceDataProvider.ProvideSequenceData(_resultData)).ToList(); AlgDynamicSequenceModel algSeqData = sequenceData.Find(p => p.Name == skill); Assert.AreEqual(deviation, algSeqData.Deviation); }
public void AlgorithmSequenceDataProviderSquadSizeTest(string skill, int squadSize) { List <AlgDynamicSequenceModel> sequenceData = new List <AlgDynamicSequenceModel>(_algorithmSequenceDataProvider.ProvideSequenceData(_resultData)).ToList(); AlgDynamicSequenceModel algSeqData = sequenceData.Find(p => p.Name == skill); Assert.AreEqual(squadSize, algSeqData.SquadSize); }
public void AlgorithmSequenceDataProviderIterationTest(string skill, int iterationOrder) { List <AlgDynamicSequenceModel> sequenceData = new List <AlgDynamicSequenceModel>(_algorithmSequenceDataProvider.ProvideSequenceData(_resultData)).ToList(); AlgDynamicSequenceModel algSeqData = sequenceData.Find(p => p.Name == skill); Assert.AreEqual(iterationOrder, algSeqData.ItterationOrder); }