Remove test for MjVfs read.

The c# library never reads from MjVfs files, so this test is superfluous (and flaky).

PiperOrigin-RevId: 499490518
Change-Id: I417959b5374c5ede29544ee3f463928513e28d07
This commit is contained in:
Tom Erez
2023-01-04 08:21:56 -08:00
committed by Copybara-Service
parent f1007df013
commit ba9229cad5
@@ -49,15 +49,5 @@ namespace Mujoco {
_vfs.AddFile(filename, "contents");
Assert.That(_vfs.FindFile(filename), Is.EqualTo(0));
}
[Test]
public unsafe void AddedFileContentsAreCorrect() {
var filename = "filename";
var contents = "contents";
_vfs.AddFile(filename, contents);
var fileIndex = _vfs.FindFile(filename);
var filedata = Marshal.PtrToStringAnsi(_vfs.Data.filedata[fileIndex]);
Assert.That(filedata, Is.EqualTo(contents));
}
}
}