File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Assets/FbxExporters/Editor/UnitTests Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ using UnityEngine ;
2
+ using UnityEditor ;
3
+ using UnityEngine . TestTools ;
4
+ using NUnit . Framework ;
5
+ using System . Collections ;
6
+ using FbxExporters . Editor ;
7
+
8
+ namespace FbxExporters . UnitTests
9
+ {
10
+ public class RotationCurveTest : ExporterTestBase {
11
+
12
+ private void TestRotationCurveBasics < T > ( ) where T : RotationCurve {
13
+
14
+ }
15
+
16
+ [ Test ]
17
+ public void TestQuaternionBasics ( ) {
18
+
19
+ }
20
+
21
+ [ Test ]
22
+ public void TestEulerBasics ( ) {
23
+ // Test get euler index
24
+ var eulerCurve = new EulerCurve ( ) ;
25
+ Assert . That ( EulerCurve . GetEulerIndex ( "localEulerAnglesRaw.y" ) , Is . EqualTo ( 1 ) ) ;
26
+ Assert . That ( EulerCurve . GetEulerIndex ( "localEulerAnglesRaw." ) , Is . EqualTo ( - 1 ) ) ;
27
+ Assert . That ( EulerCurve . GetEulerIndex ( "Quaternion.x" ) , Is . EqualTo ( - 1 ) ) ;
28
+
29
+ // Test get quaternion index
30
+
31
+ // Test SetCurve
32
+
33
+
34
+ }
35
+ }
36
+ }
You can’t perform that action at this time.
0 commit comments