﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace EpubSharp.Tests
{
    [TestClass]
    public class EpubWriterTests
    {
        [TestMethod]
        public void SaveTest()
        {
            var book = EpubReader.Read(@"../../Samples/epub-assorted/iOS Hackers Handbook.epub");
            var writer = new EpubWriter(book);
            writer.Save("saved.epub");
        }
    }
}

﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace EpubSharp.Tests
{
    [TestClass]
    public class EpubWriterTests
    {
        [TestMethod]
        public void SaveTest()
        {
            var book = EpubReader.Read(@"../../Samples/epub-assorted/Inversions - Iain M. Banks.epub");
            var writer = new EpubWriter(book);
            writer.Save("saved.epub");
        }
    }
}

Use smaller epub for saving test, so that online validators accept the size.
Use smaller epub for saving test, so that online validators accept the size.
