2016-02-18 22:19:03 -08:00

20 lines
471 B
C#

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OSCADSharp.Solids;
namespace OSCADSharp.UnitTests
{
[TestClass]
public class IntersectionTests
{
[TestMethod]
[ExpectedException(typeof(NotSupportedException))]
public void Intersection_PositionThrowsNotSupportedException()
{
var obj = new Sphere().Intersection(new Text3D("Sup"));
var pos = obj.Position();
}
}
}