mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-11 21:48:34 +00:00
20 lines
460 B
C#
20 lines
460 B
C#
using System;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using OSCADSharp.Solids;
|
|
|
|
namespace OSCADSharp.UnitTests
|
|
{
|
|
[TestClass]
|
|
public class DifferenceTests
|
|
{
|
|
[TestMethod]
|
|
[ExpectedException(typeof(NotSupportedException))]
|
|
public void Difference_PositionThrowsNotSupportedException()
|
|
{
|
|
var diff = new Sphere().Difference(new Cube());
|
|
|
|
var pos = diff.Position();
|
|
}
|
|
}
|
|
}
|