Skip to content

Commit

Permalink
readDefinitions
Browse files Browse the repository at this point in the history
  • Loading branch information
DomCR committed Jan 20, 2024
1 parent d9c50a7 commit 2aa14aa
Show file tree
Hide file tree
Showing 20 changed files with 858 additions and 1,377 deletions.
19 changes: 3 additions & 16 deletions src/MeshIO.FBX.Tests/FbxReaderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ static FbxReaderTest()

public FbxReaderTest(ITestOutputHelper output) : base(output) { }

[Theory]
[Theory(Skip = "skipy skip")]
[MemberData(nameof(AsciiFiles))]
[MemberData(nameof(BinaryFiles))]
public void GetVersion(string path)
{
using (FbxReader reader = new FbxReader(path, ErrorLevel.Checked))
using (FbxReader reader = new FbxReader(path))
{
var version = reader.GetVersion();
}
Expand Down Expand Up @@ -75,22 +75,9 @@ public void ReadWriteAsciiTest(string test)

private Scene readFile(string path)
{
using (FbxReader reader = new FbxReader(path, ErrorLevel.Checked))
using (FbxReader reader = new FbxReader(path))
{
reader.OnNotification += onNotification;

if (reader.GetVersion() <= FbxVersion.v5800)
{
Assert.Throws<NotSupportedException>(reader.Read);
return null;
}

if (reader.GetVersion() <= FbxVersion.v6100)
{
Assert.Throws<NotImplementedException>(reader.Read);
return null;
}

return reader.Read();
}
}
Expand Down
1 change: 0 additions & 1 deletion src/MeshIO.FBX.Tests/FbxRootNodeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public class FbxRootNodeTest
[MemberData(nameof(FbxTestCasesData.Versions))]
public void CreateFromEmptySceneTest(FbxVersion version)
{
FbxRootNode root = FbxRootNode.CreateFromScene(new Scene(), version);
}
}
}
12 changes: 0 additions & 12 deletions src/MeshIO.FBX/Converters/ISceneConverter.cs

This file was deleted.

8 changes: 0 additions & 8 deletions src/MeshIO.FBX/Converters/SceneConverter7000.cs

This file was deleted.

Loading

0 comments on commit 2aa14aa

Please sign in to comment.