From 6d36117722919435f7854ae6c96745d86b63fef6 Mon Sep 17 00:00:00 2001 From: Michael Ragazzon Date: Fri, 1 Nov 2024 00:04:44 +0100 Subject: [PATCH] Add tests for fractional dimensions, see #438 --- .../VisualTests/fractional-dimensions-01.rml | 54 +++++++++++++++++ .../VisualTests/fractional-dimensions-02.rml | 60 +++++++++++++++++++ .../fractional-dimensions-02-ref.rml | 18 ++++++ 3 files changed, 132 insertions(+) create mode 100644 Tests/Data/VisualTests/fractional-dimensions-01.rml create mode 100644 Tests/Data/VisualTests/fractional-dimensions-02.rml create mode 100644 Tests/Data/VisualTests/reference/fractional-dimensions-02-ref.rml diff --git a/Tests/Data/VisualTests/fractional-dimensions-01.rml b/Tests/Data/VisualTests/fractional-dimensions-01.rml new file mode 100644 index 000000000..12f0bbb36 --- /dev/null +++ b/Tests/Data/VisualTests/fractional-dimensions-01.rml @@ -0,0 +1,54 @@ + + + + Fractional dimensions 01 + + + + + +

Borders should have the same width everywhere and be placed edge to edge.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
diff --git a/Tests/Data/VisualTests/fractional-dimensions-02.rml b/Tests/Data/VisualTests/fractional-dimensions-02.rml new file mode 100644 index 000000000..e2cb3cf1f --- /dev/null +++ b/Tests/Data/VisualTests/fractional-dimensions-02.rml @@ -0,0 +1,60 @@ + + + + Fractional dimensions 02 + + + + + + + + + + + + +

You should see no red below, just a green square with a green border.

+
+ + + + + + + + + + + + + + + + + + + + + +
+ +
diff --git a/Tests/Data/VisualTests/reference/fractional-dimensions-02-ref.rml b/Tests/Data/VisualTests/reference/fractional-dimensions-02-ref.rml new file mode 100644 index 000000000..d80d52ba1 --- /dev/null +++ b/Tests/Data/VisualTests/reference/fractional-dimensions-02-ref.rml @@ -0,0 +1,18 @@ + + + + + + + +

You should see no red below, just a green square with a green border.

+
+ +