Unit test class for the GmodAssetImporter library. Checks default values of ConversionOptions and that its OnLog delegate can be invoked.
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GmodAssetImporter;
[TestClass]
public partial class LibraryTests
{
[TestMethod]
public void ConversionOptionsDefaults()
{
var options = new ConversionOptions();
Assert.IsTrue( options.PreservePaths );
Assert.IsFalse( options.ExportAnimations );
Assert.AreEqual( 1.0f, options.ModelScale );
options.OnLog( "ok" );
}
}