Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 847434c6

Přidáno uživatelem Roman Kalivoda před téměř 4 roky(ů)

Re #9009 Migrate existing tests

Zobrazit rozdíly:

Server/ServerApp/Program.cs
164 164

  
165 165
		private static void JSONParserTest()
166 166
		{
167
			JsonParser jsonP = new JsonParser(null);
167
            // FIXME pass the right references to the JsonParser constructor
168
			JsonParser jsonP = new JsonParser(null, null);
168 169
			jsonP.ParsePrediction();
169 170

  
170 171
			var res = jsonP.GetPredictionForTime(jsonP.Predictions[5].startTime, jsonP.Predictions[20].startTime);
......
178 179
		{
179 180
			// TODO nastavit čas
180 181
			IDataParser p = new DataParser(dd);
181
            IJsonParser jsonP = new JsonParser(dd);
182
            // FIXME pass the right references to the JsonParser constructor
183
            IJsonParser jsonP = new JsonParser(dd, null);
182 184
            IPredictionController predictionController = new PredictionController(jsonP, p);
183 185
            predictionController.Train();
184 186
            //var results = predictionController.Predict()

Také k dispozici: Unified diff