Revize 86c29fc1
Přidáno uživatelem Eliška Mourycová před více než 3 roky(ů)
Server/ServerApp/Program.cs | ||
---|---|---|
58 | 58 |
DataDownloader dd = DataDownloadAndRetrievalTest(config); |
59 | 59 |
|
60 | 60 |
// xml building test |
61 |
//XMLTest();
|
|
61 |
XMLTest(); |
|
62 | 62 |
|
63 | 63 |
|
64 | 64 |
|
... | ... | |
132 | 132 |
{ |
133 | 133 |
Response response = Response.Randomize(); |
134 | 134 |
var xml = XmlCommunication.Serialize(response); |
135 |
//xml = "haha"; |
|
136 |
Response response1 = new Response(); |
|
135 | 137 |
Console.WriteLine(xml); |
136 |
Response responseDeserialized = XmlCommunication.Deserialize(response, xml); |
|
138 |
try |
|
139 |
{ |
|
140 |
Response responseDeserialized = XmlCommunication.Deserialize(response1, xml); |
|
141 |
} |
|
142 |
catch(Exception e) |
|
143 |
{ |
|
144 |
Console.WriteLine("bad format"); |
|
145 |
} |
|
146 |
|
|
137 | 147 |
|
138 | 148 |
Console.WriteLine("------"); |
139 | 149 |
|
Také k dispozici: Unified diff
Re #8943. Prepared getting predictions from Model.