Michael L Smith 8831610bda + Implemented Position on Cylinder, Sphere, Text3D
+ Made the executive decision that Text3D in OSCADSharp is always centered in script output, to facilitate correct position calculation.
2016-02-15 21:00:43 -08:00

23 lines
495 B
C#

using Microsoft.VisualStudio.TestTools.UnitTesting;
using OSCADSharp.Solids;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OSCADSharp.UnitTests
{
[TestClass]
public class Text3DTests
{
[TestMethod]
public void Text_PositionIsCentered()
{
var text = new Text3D("Bom chicka bow wow");
Assert.AreEqual(new Vector3(), text.Position());
}
}
}