Skip to content

Commit

Permalink
remove rendering tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JensKrumsieck committed Nov 25, 2021
1 parent 4e37f79 commit bb48ce7
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 215 deletions.
1 change: 1 addition & 0 deletions ChemSharp.Rendering/Primitives/SVG/SvgPathPart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public enum SvgPartType
ClosePath = 'Z'
}

[Obsolete("Package will be removed soon")]
public class SvgPathPart
{
public const string PartPattern = @"(M|L|C|A|Q|Z) ((\d+[.]?\d*)[,]?)*";
Expand Down
3 changes: 2 additions & 1 deletion ChemSharp.Rendering/Svg/SvgMolecule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
using ChemSharp.Rendering.Primitives.SVG;
*/
using ChemSharp.Rendering.Primitives.Svg;
using System;
using System.Collections.Generic;
using System.Linq;

[Obsolete("Package will be removed soon")]
namespace ChemSharp.Rendering.Svg
{
[Obsolete("Package will be removed soon")]
public class SvgMolecule : IExportable
{
public readonly Molecule Molecule;
Expand Down
1 change: 0 additions & 1 deletion ChemSharp.Tests/ChemSharp.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

<ItemGroup>
<ProjectReference Include="..\ChemSharp.Molecules\ChemSharp.Molecules.csproj" />
<ProjectReference Include="..\ChemSharp.Rendering\ChemSharp.Rendering.csproj" />
<ProjectReference Include="..\ChemSharp.Spectroscopy\ChemSharp.Spectroscopy.csproj" />
<ProjectReference Include="..\ChemSharp\ChemSharp.csproj" />
<ProjectReference Include="..\ChemSharp.UnitConversion\ChemSharp.UnitConversion.csproj" />
Expand Down
11 changes: 0 additions & 11 deletions ChemSharp.Tests/Molecules/ExportTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using ChemSharp.Molecules;
using ChemSharp.Molecules.DataProviders;
using ChemSharp.Molecules.Export;
using ChemSharp.Rendering.Export;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;

Expand Down Expand Up @@ -37,16 +36,6 @@ public void TestExportMol2()
Assert.AreEqual(mol.Bonds.Count, importMol.Bonds.Count);
}

[TestMethod]
public void TestExportSvg()
{
const string path = "files/tep.mol2";
var mol = new Molecule(new Mol2DataProvider(path));
const string export = dir + "test.svg";
SvgExporter.Export(mol, export, 1000, 1000);
Assert.IsTrue(File.Exists(dir + "test.svg"));
}

[TestCleanup]
public void RemoveDir() => Directory.Delete(dir, true);
}
Expand Down
135 changes: 0 additions & 135 deletions ChemSharp.Tests/Rendering/PovRayTests.cs

This file was deleted.

67 changes: 0 additions & 67 deletions ChemSharp.Tests/Rendering/SvgTest.cs

This file was deleted.

0 comments on commit bb48ce7

Please sign in to comment.