From 936dc74a271513ade5ae7c2bebd4a7dbed45ac42 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 17 May 2020 23:08:27 +0530 Subject: [PATCH] Some more coalesce tests --- kitty_tests/fonts.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kitty_tests/fonts.py b/kitty_tests/fonts.py index 8bfae02c9..34210fe68 100644 --- a/kitty_tests/fonts.py +++ b/kitty_tests/fonts.py @@ -132,3 +132,9 @@ class Rendering(BaseTest): self.ae(coalesce_symbol_maps(q), {(1, 1): 'a', (2, 3): 'b', (4, 4): 'a'}) q = {(2, 3): 'b', (1, 4): 'a'} self.ae(coalesce_symbol_maps(q), {(1, 4): 'a'}) + q = {(1, 4): 'a', (2, 5): 'b'} + self.ae(coalesce_symbol_maps(q), {(1, 1): 'a', (2, 5): 'b'}) + q = {(2, 5): 'b', (1, 4): 'a'} + self.ae(coalesce_symbol_maps(q), {(1, 4): 'a', (5, 5): 'b'}) + q = {(1, 4): 'a', (2, 5): 'a'} + self.ae(coalesce_symbol_maps(q), {(1, 5): 'a'})