public void FileTruncate_ShouldThrowExceptionOnZeroLength() { var mock = new Mock<ILibsndfileCommandApi>(); var api = new LibsndfileCommandApi(mock.Object); api.FileTruncate(new IntPtr(1), 0); }
public void FileTruncate_ShouldThrowExceptionOnZeroHandle() { var mock = new Mock<ILibsndfileCommandApi>(); var api = new LibsndfileCommandApi(mock.Object); api.FileTruncate(IntPtr.Zero, 0); }
public void FileTruncate_ShouldThrowExceptionOnZeroLength() { var mock = new Mock <ILibsndfileCommandApi>(); var api = new LibsndfileCommandApi(mock.Object); api.FileTruncate(new IntPtr(1), 0); }
public void FileTruncate_ShouldThrowExceptionOnZeroHandle() { var mock = new Mock <ILibsndfileCommandApi>(); var api = new LibsndfileCommandApi(mock.Object); api.FileTruncate(IntPtr.Zero, 0); }