mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-12 14:08:35 +00:00
20 lines
481 B
C#
20 lines
481 B
C#
using System;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using OSCADSharp.Solids;
|
|
|
|
namespace OSCADSharp.UnitTests
|
|
{
|
|
[TestClass]
|
|
public class MinkowskiTests
|
|
{
|
|
[TestMethod]
|
|
[ExpectedException(typeof(NotSupportedException))]
|
|
public void Minkowski_PositionThrowsNotSupportedException()
|
|
{
|
|
var obj = new Cylinder().Intersection(new Sphere()).Translate(0, 5, 5);
|
|
|
|
var pos = obj.Position();
|
|
}
|
|
}
|
|
}
|