FbxDeformerTest.cs 914 B

1234567891011121314151617181920212223242526272829
  1. // ***********************************************************************
  2. // Copyright (c) 2017 Unity Technologies. All rights reserved.
  3. //
  4. // Licensed under the ##LICENSENAME##.
  5. // See LICENSE.md file in the project root for full license information.
  6. // ***********************************************************************
  7. using NUnit.Framework;
  8. using System.Collections;
  9. using Autodesk.Fbx;
  10. namespace Autodesk.Fbx.UnitTests
  11. {
  12. public class FbxDeformerTestBase<T> : Base<T> where T : FbxDeformer
  13. {
  14. virtual public void TestBasics(T deformer, FbxDeformer.EDeformerType type)
  15. {
  16. Assert.AreEqual (type, deformer.GetDeformerType ());
  17. }
  18. }
  19. public class FbxDeformerTest : FbxDeformerTestBase<FbxDeformer> {
  20. [Test]
  21. public void TestBasics()
  22. {
  23. TestBasics (CreateObject (), FbxDeformer.EDeformerType.eUnknown);
  24. }
  25. }
  26. }