Added script for testing conversion of XML files based on XSL files

Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
diff --git a/tests/test_converting.py b/tests/test_converting.py
new file mode 100644
index 0000000..d6f4e81
--- /dev/null
+++ b/tests/test_converting.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python3
+
+import pytest
+from vtr_xml_utils import convert
+
+
+@pytest.mark.parametrize("testdatafile",
+                         convert.get_filenames_containing("*.golden.xml",
+                                                          __file__))
+def test_converting_and_merging_fpga_architecture(testdatafile):
+    inputname = testdatafile.replace('.golden.xml', '.xml')
+    result = convert.vtr_stylize_xml(inputname)
+    with open(testdatafile) as res:
+        golden = res.read()
+        assert result == golden