Browse Source

Removed empty constructor

- And fixed a typo
Martin Edlund 5 years ago
parent
commit
f754e5a215

+ 2 - 2
SketchAssistant/SketchAssistant.Tests/UnitTest1.cs

@@ -284,7 +284,7 @@ namespace Tests
         public void ParseISADInputSuccessfulTest(int[] xCoordinates, int[] yCoordinates)
         {
             Form1 program = new Form1();
-            FileImporter uut = new SketchAssistant.FileImporter(program);
+            FileImporter uut = new SketchAssistant.FileImporter();
 
             List<String> file = new List<string>();
             file.Add("drawing");
@@ -335,7 +335,7 @@ namespace Tests
         {
             bool exceptionThrown = false;
             Form1 program = new Form1();
-            FileImporter uut = new SketchAssistant.FileImporter(program);
+            FileImporter uut = new SketchAssistant.FileImporter();
             //check that left image initially is uninitialized
             Assert.IsNull(GetLeftImage(program));
             //initialize left image with a valid isad drawing

+ 1 - 1
SketchAssistant/SketchAssistant/FileImporter.cs

@@ -33,7 +33,7 @@ namespace SketchAssistant
         readonly int samplingRateEllipse = 12;
 
         /// <summary>
-        /// number of points to create on a bezier curve, including start and end point (even numbr will result in "flat" bezier curves, uneven number in "pointed" ones
+        /// number of points to create on a bezier curve, including start and end point (even number will result in "flat" bezier curves, uneven number in "pointed" ones)
         /// </summary>
         readonly int samplingRateBezier = 101;