File tree Expand file tree Collapse file tree
3rdPartyFormatAdapters/GCODE/GCodeReaderWriter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77 <ItemGroup >
88 <ProjectReference Include =" ..\..\..\AbstractReaderWriter\AbstractReaderWriter.csproj" />
9+ <ProjectReference Include =" ..\..\..\OVFReaderWriter\OVFReaderWriter.csproj" />
910 </ItemGroup >
1011
1112</Project >
Original file line number Diff line number Diff line change @@ -32,8 +32,10 @@ You should have received a copy of the GNU Lesser General Public
3232using System . Numerics ;
3333using System . Text ;
3434using System . Threading . Tasks ;
35+ //using GCodeReaderWriter;
36+ using OpenVectorFormat . OVFReaderWriter ;
3537
36- namespace GCodeReaderWriter
38+ namespace OpenVectorFormat . GCodeReaderWriter
3739{
3840 public class GCodeWriter : FileWriter
3941 {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ You should have received a copy of the GNU Lesser General Public
3131using OpenVectorFormat . AbstractReaderWriter ;
3232using OpenVectorFormat . GCodeReaderWriter ;
3333using OpenVectorFormat ;
34- using GCodeReaderWriter ;
34+ // using GCodeReaderWriter;
3535using OpenVectorFormat . OVFReaderWriter ;
3636using OpenVectorFormat . ReaderWriter . UnitTests ;
3737using System . IO ;
@@ -41,19 +41,21 @@ namespace UnitTests
4141 [ TestClass ]
4242 public class GCodeWriterTest
4343 {
44- private string ovfFilePath = "\\ bunny.ovf" ;
45- private string gcodeOutputPath = "\\ output .gcode" ;
44+ private string ovfFilePath = "C: \\ Users \\ sambi \\ Source \\ Repos \\ OpenVectorFormatTools \\ ReaderWriter \\ UnitTests \\ TestFiles \\ bunny.ovf" ;
45+ private string gcodeOutputPath = "C: \\ Users \\ sambi \\ Documents \\ temp \\ output3 .gcode" ;
4646 private OVFFileReader ovfReader ;
4747 private GCodeWriter gcodeWriter ;
4848
4949 [ TestInitialize ]
5050 public void Setup ( )
5151 {
5252 Assert . IsTrue ( File . Exists ( ovfFilePath ) , "OVF file not found" ) ;
53+
5354 ovfReader = new OVFFileReader ( ) ;
5455 gcodeWriter = new GCodeWriter ( ) ;
5556 }
5657
58+ //[DynamicData("GCodeFiles")]
5759 [ TestMethod ]
5860 public void Test_OVF_To_GCode ( )
5961 {
You can’t perform that action at this time.
0 commit comments