Exemplo n.º 1
0
        public void GetFormatMajor_ShouldThrowExceptionOnSubmaskFormat()
        {
            var mock = new Mock<ILibsndfileCommandApi>();

            var api = new LibsndfileCommandApi(mock.Object);
            api.GetFormatMajor(LibsndfileFormat.Submask);
        }
Exemplo n.º 2
0
        public void GetFormatMajor_ShouldThrowExceptionOnEndmaskFormat()
        {
            var mock = new Mock <ILibsndfileCommandApi>();

            var api = new LibsndfileCommandApi(mock.Object);

            api.GetFormatMajor(LibsndfileFormat.Endmask);
        }