Пример #1
0
        public async Task FromFileAsync()
        {
            using (var tempFile = TempFile.Generate(500))
            {
                var audio = await RecognitionAudio.FromFileAsync(tempFile.Name);

                Assert.Equal(tempFile.Bytes, audio.Content.ToByteArray());
            }
        }