Tunny.CoreTests/Util/TEnvVariablesTests.cs
using System.IO;
using Xunit;
namespace Tunny.Core.Util.Tests
{
public class GooConverterTests
{
[Fact]
public void GetTmpDirPathTest()
{
string path = TEnvVariables.TmpDirPath;
Assert.True(Directory.Exists(path));
}
[Fact]
public void GrasshopperHWNDTest()
{
TEnvVariables.GrasshopperWindowHandle = new System.IntPtr(123);
Assert.Equal(123, TEnvVariables.GrasshopperWindowHandle.ToInt32());
}
}
}