Changeset 9616 for branches/HivePerformance/sources/HeuristicLab.Tests/HeuristicLab.Problems.Instances.DataAnalysis-3.3
- Timestamp:
- 06/12/13 15:02:47 (12 years ago)
- Location:
- branches/HivePerformance/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HivePerformance/sources
- Property svn:mergeinfo changed
/trunk/sources merged: 9540,9542-9544,9552-9555,9568-9569,9587,9590-9592,9600,9607-9608,9610-9611,9613
- Property svn:mergeinfo changed
-
branches/HivePerformance/sources/HeuristicLab.Tests
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Tests merged: 9608
- Property svn:mergeinfo changed
-
branches/HivePerformance/sources/HeuristicLab.Tests/HeuristicLab.Problems.Instances.DataAnalysis-3.3/TableFileParserTest.cs
r9539 r9616 42 42 TableFileParser parser = new TableFileParser(); 43 43 try { 44 parser.Parse(tempFileName );44 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 45 45 Assert.AreEqual(6, parser.Rows); 46 46 Assert.AreEqual(4, parser.Columns); … … 64 64 TableFileParser parser = new TableFileParser(); 65 65 try { 66 parser.Parse(tempFileName );66 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 67 67 Assert.AreEqual(6, parser.Rows); 68 68 Assert.AreEqual(4, parser.Columns); … … 86 86 TableFileParser parser = new TableFileParser(); 87 87 try { 88 parser.Parse(tempFileName );88 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 89 89 Assert.AreEqual(6, parser.Rows); 90 90 Assert.AreEqual(4, parser.Columns); … … 109 109 TableFileParser parser = new TableFileParser(); 110 110 try { 111 parser.Parse(tempFileName );111 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 112 112 Assert.AreEqual(6, parser.Rows); 113 113 Assert.AreEqual(4, parser.Columns); … … 131 131 TableFileParser parser = new TableFileParser(); 132 132 try { 133 parser.Parse(tempFileName );133 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 134 134 Assert.AreEqual(6, parser.Rows); 135 135 Assert.AreEqual(4, parser.Columns); … … 153 153 TableFileParser parser = new TableFileParser(); 154 154 try { 155 parser.Parse(tempFileName );155 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 156 156 Assert.AreEqual(6, parser.Rows); 157 157 Assert.AreEqual(4, parser.Columns); … … 175 175 TableFileParser parser = new TableFileParser(); 176 176 try { 177 parser.Parse(tempFileName );177 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 178 178 Assert.AreEqual(6, parser.Rows); 179 179 Assert.AreEqual(4, parser.Columns); … … 197 197 TableFileParser parser = new TableFileParser(); 198 198 try { 199 parser.Parse(tempFileName );199 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 200 200 Assert.AreEqual(6, parser.Rows); 201 201 Assert.AreEqual(4, parser.Columns); … … 220 220 TableFileParser parser = new TableFileParser(); 221 221 try { 222 parser.Parse(tempFileName );222 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 223 223 Assert.AreEqual(6, parser.Rows); 224 224 Assert.AreEqual(4, parser.Columns); … … 243 243 TableFileParser parser = new TableFileParser(); 244 244 try { 245 parser.Parse(tempFileName );245 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 246 246 Assert.AreEqual(6, parser.Rows); 247 247 Assert.AreEqual(4, parser.Columns); … … 266 266 TableFileParser parser = new TableFileParser(); 267 267 try { 268 parser.Parse(tempFileName );268 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 269 269 Assert.AreEqual(6, parser.Rows); 270 270 Assert.AreEqual(4, parser.Columns); … … 289 289 TableFileParser parser = new TableFileParser(); 290 290 try { 291 parser.Parse(tempFileName );291 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 292 292 Assert.AreEqual(6, parser.Rows); 293 293 Assert.AreEqual(4, parser.Columns); … … 311 311 TableFileParser parser = new TableFileParser(); 312 312 try { 313 parser.Parse(tempFileName );313 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 314 314 Assert.AreEqual(6, parser.Rows); 315 315 Assert.AreEqual(4, parser.Columns); … … 333 333 TableFileParser parser = new TableFileParser(); 334 334 try { 335 parser.Parse(tempFileName );335 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 336 336 Assert.AreEqual(6, parser.Rows); 337 337 Assert.AreEqual(4, parser.Columns); … … 355 355 TableFileParser parser = new TableFileParser(); 356 356 try { 357 parser.Parse(tempFileName );357 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 358 358 Assert.AreEqual(6, parser.Rows); 359 359 Assert.AreEqual(4, parser.Columns); … … 377 377 TableFileParser parser = new TableFileParser(); 378 378 try { 379 parser.Parse(tempFileName );379 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 380 380 Assert.AreEqual(6, parser.Rows); 381 381 Assert.AreEqual(4, parser.Columns); … … 400 400 TableFileParser parser = new TableFileParser(); 401 401 try { 402 parser.Parse(tempFileName );402 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 403 403 Assert.AreEqual(4, parser.Rows); 404 404 Assert.AreEqual(4, parser.Columns); … … 421 421 TableFileParser parser = new TableFileParser(); 422 422 try { 423 parser.Parse(tempFileName );423 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 424 424 Assert.AreEqual(6, parser.Rows); 425 425 Assert.AreEqual(4, parser.Columns); … … 443 443 TableFileParser parser = new TableFileParser(); 444 444 try { 445 parser.Parse(tempFileName );445 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 446 446 Assert.AreEqual(6, parser.Rows); 447 447 Assert.AreEqual(4, parser.Columns); … … 465 465 TableFileParser parser = new TableFileParser(); 466 466 try { 467 parser.Parse(tempFileName );467 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 468 468 Assert.AreEqual(6, parser.Rows); 469 469 Assert.AreEqual(4, parser.Columns); … … 487 487 TableFileParser parser = new TableFileParser(); 488 488 try { 489 parser.Parse(tempFileName );489 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 490 490 Assert.AreEqual(6, parser.Rows); 491 491 Assert.AreEqual(4, parser.Columns); … … 508 508 TableFileParser parser = new TableFileParser(); 509 509 try { 510 parser.Parse(tempFileName );510 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 511 511 Assert.AreEqual(3, parser.Rows); 512 512 Assert.AreEqual(4507, parser.Columns); … … 529 529 TableFileParser parser = new TableFileParser(); 530 530 try { 531 parser.Parse(tempFileName );531 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 532 532 Assert.AreEqual(6, parser.Rows); 533 533 Assert.AreEqual(4, parser.Columns); … … 551 551 TableFileParser parser = new TableFileParser(); 552 552 try { 553 parser.Parse(tempFileName );553 parser.Parse(tempFileName, parser.AreColumnNamesInFirstLine(tempFileName)); 554 554 Assert.AreEqual(6, parser.Rows); 555 555 Assert.AreEqual(4, parser.Columns);
Note: See TracChangeset
for help on using the changeset viewer.