-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
287 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -208,4 +208,6 @@ public double ConvolutionAtPoint(int x, int y, double[,] matrix) | |
return r; | ||
} | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,27 @@ | ||
using System; | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
using Data; | ||
using Preserse; | ||
|
||
namespace Get3DModel.UnitTests | ||
{ | ||
[TestClass] | ||
public class PreserveOBJTests | ||
{ | ||
[TestMethod] | ||
public void TestMethod1() | ||
public void saveOBJTest() //Проверка сохранения файла | ||
{ | ||
//arrange | ||
string path = "Solution"; | ||
Solution sol = new Solution(); | ||
sol.createdBeginSolution(100, 100); | ||
string patchconfig="Parser\\sample.camera"; | ||
Setting setting=new Setting(patchconfig); | ||
IPreserveOBJ PresOBJ = new PreserveOBJ(); | ||
//act | ||
PresOBJ.saveOBJ(sol, setting, path); | ||
//assert | ||
// Assert.AreEqual(exepected, rez); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
using System; | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
using Data; | ||
using Preserse; | ||
|
||
namespace Get3DModel.UnitTests | ||
{ | ||
[TestClass] | ||
public class PreservePNGTests | ||
{ | ||
[TestMethod] | ||
public void TestMethod1() | ||
public void savePNGTest() //Проверка сохранения OBJ файла | ||
{ | ||
//arrange | ||
string path = "Solution"; | ||
Solution sol = new Solution(); | ||
sol.createdBeginSolution(100, 100); | ||
PreservePNG PresPNG = new PreservePNG(); | ||
//act | ||
PresPNG.savePNG(sol, path); | ||
//assert | ||
// Assert.AreEqual(exepected, rez); | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Binary file added
BIN
+344 Bytes
src/Get3DModel/Get3DModel.UnitTests/bin/Debug/Solution/sharpImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
src/Get3DModel/Get3DModel/bin/Debug/Get3DModel.vshost.exe.manifest
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.