소스 검색

Removed empty constructor

- And fixed a typo
Martin Edlund 5 년 전
부모
커밋
f754e5a215
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      SketchAssistant/SketchAssistant.Tests/UnitTest1.cs
  2. 1 1
      SketchAssistant/SketchAssistant/FileImporter.cs

+ 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;