Browse Source

Put Test classes in namespace bbiwarg.Test.
Added bbiwarg.v11.suo to .gitignore again.

Daniel Kauth 10 years ago
parent
commit
2f1ea7cadf
3 changed files with 7 additions and 4 deletions
  1. 1 0
      .gitignore
  2. 1 1
      bbiwarg/Test/OutputTest.cs
  3. 5 3
      bbiwarg/Test/TestDataSource.cs

+ 1 - 0
.gitignore

@@ -1,3 +1,4 @@
 bbiwarg/bin/
 bbiwarg/obj/
 *.skv
+bbiwarg.v11.suo

+ 1 - 1
bbiwarg/Test/OutputTest.cs

@@ -9,7 +9,7 @@ using MathNet.Numerics.LinearAlgebra.Single;
 
 using bbiwarg.DataSource;
 
-namespace bbiwarg
+namespace Test.bbiwarg
 {
     class OutputTest : GameWindow
     {

+ 5 - 3
bbiwarg/Test/TestDataSource.cs

@@ -2,13 +2,15 @@
 
 using System.Drawing;
 
-namespace bbiwarg
+using bbiwarg.DataSource;
+
+namespace Test.bbiwarg
 {
     class TestDataSource
     {
         static void Main(string[] args)
         {
-            DataSource.IVideoDataSource source = new DataSource.IIsuDataSource("..\\..\\videos\\2.skv");
+            IVideoDataSource source = new IIsuDataSource("..\\..\\videos\\2.skv");
 
             source.init();
             source.start();
@@ -21,7 +23,7 @@ namespace bbiwarg
 
                 if ((i % 30) == 0)
                 {
-                    DataSource.ColorImage image = source.getColorImage();
+                    ColorImage image = source.getColorImage();
 
                     /*Bitmap bm = new Bitmap(image.getWidth(), image.getHeight());
                     for (int x = 0; x < image.getWidth(); ++x)