File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Assets/FbxExporters/Editor/UnitTests Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -137,17 +137,18 @@ public void BasicTest()
137
137
directoryFullPath : path , keepOriginal : true ) ;
138
138
139
139
// Make sure it's what we expect.
140
- Assert . IsTrue ( cube ) ; // we kept the original
141
- Assert . IsTrue ( cubePrefabInstance ) ; // we got the new
140
+ Assert . That ( cube ) ; // we kept the original
141
+ Assert . That ( cubePrefabInstance ) ; // we got the new
142
142
Assert . AreEqual ( "Cube" , cubePrefabInstance . name ) ; // it has the right name
143
- Assert . IsFalse ( EditorUtility . IsPersistent ( cubePrefabInstance ) ) ;
143
+ Assert . That ( ! EditorUtility . IsPersistent ( cubePrefabInstance ) ) ;
144
144
var cubePrefabAsset = PrefabUtility . GetPrefabParent ( cubePrefabInstance ) ;
145
+ Assert . That ( cubePrefabAsset ) ;
145
146
146
147
// it's a different mesh instance, but the same mesh
147
148
Assert . AreNotEqual (
148
149
cube . GetComponent < MeshFilter > ( ) . sharedMesh ,
149
150
cubePrefabInstance . GetComponent < MeshFilter > ( ) . sharedMesh ) ;
150
- Assert . IsTrue ( cubePrefabInstance . GetComponent < FbxPrefab > ( ) ) ;
151
+ Assert . That ( cubePrefabInstance . GetComponent < FbxPrefab > ( ) ) ;
151
152
152
153
// Should be all the same triangles. But it isn't. TODO.
153
154
// At least the indices should match in multiplicity.
You can’t perform that action at this time.
0 commit comments