public async Task GetFileSizeAsync_UnsignedUnrestricted_Test() { _client.ShouldGetVideoFileSizes = false; var videoInfo = await _client.GetVideoInfoAsync("LsNPjFXIPT8"); foreach (var streamInfo in videoInfo.Streams) { long size = await _client.GetFileSizeAsync(streamInfo); Assert.IsTrue(0 < size); Assert.IsTrue(0 < streamInfo.FileSize); Assert.AreEqual(size, streamInfo.FileSize); } }