From 9ebea403e3fa6e502e369917bddf4ef6c46ef961 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 1 Apr 2017 16:18:36 +0100 Subject: Add test case from java-mammoth --- Mammoth.Tests/DocumentConverterTests.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Mammoth.Tests/DocumentConverterTests.cs') diff --git a/Mammoth.Tests/DocumentConverterTests.cs b/Mammoth.Tests/DocumentConverterTests.cs index 0f4a336..ab0f63e 100644 --- a/Mammoth.Tests/DocumentConverterTests.cs +++ b/Mammoth.Tests/DocumentConverterTests.cs @@ -54,12 +54,19 @@ namespace Mammoth.Tests { } [Fact] - public void InlineImagesAreIncludedInOutput() { + public void InlineImagesReferencedByPathRelativeToPartAreIncludedInOutput() { AssertSuccessfulConversion( ConvertToHtml("tiny-picture.docx"), "

"); } + [Fact] + public void InlineImagesReferencedByPathRelativeToBaseAreIncludedInOutput() { + AssertSuccessfulConversion( + ConvertToHtml("tiny-picture-target-base-relative.docx"), + "

"); + } + [Fact] public void ImagesStoredOutsideOfDocumentAreIncludedInOutput() { AssertSuccessfulConversion( -- cgit v1.2.3