Ejemplo n.º 1
0
        public void TestBigRoundTrip()
        {
            string path = $"{baseAPKUnpackedFolderPath}/assets/bin/Data/sharedassets17.assets";

            byte[] data = SerializedAssets.JoinedContents(path);
            TestRoundTrips(data, "big");
        }
Ejemplo n.º 2
0
        public void TestBigFile()
        {
            string path = $"{baseAPKUnpackedFolderPath}/assets/bin/Data/sharedassets17.assets";

            byte[] data = SerializedAssets.JoinedContents(path);
            using (Stream stream = new MemoryStream(data)) {
                SerializedAssets assets = new SerializedAssets(stream);
                Assert.Equal(30, assets.types.Count);
                Assert.Equal(260, assets.objects.Count);
            }
        }