tests: update tests due to fix in previous commit

terminology-1.4
Boris Faure 4 years ago
parent 5300a89013
commit 3f76507fe5
  1. 8
      tests/selection_box_to_paragraph.sh
  2. 17
      tests/selection_box_to_position.sh
  3. 16
      tests/selection_box_to_word.sh

@ -49,7 +49,7 @@ printf '\033}tm;210;248;0\0'
printf '\033}td;210;248;1;2;2\0'
printf '\033}tu;210;248;1;2;2\0'
# selection is
printf '\033}ts sed bibendum. Aenean ornare placerat arcu, eu blandit lacus feugiat sit amet. P\nhasellus lobortis cursus rutrum. Praesent pulvinar velit non maximus efficitur.\nMauris non velit eget enim tempus sodales. Donec sodales lorem quis diam iaculis\n, vel finibus diam aliquam. In interdum faucibus eleifend. Proin pellentesque, n\nisi a congue euismod, nibh ipsum luctus diam, et iaculis elit arcu vel tellus.\n\nProin tristique sagittis ornare. Phasellus egestas aliquet euismod. Duis maximus\n lacinia erat, in sollicitudin sem interdum in. Fusce vel vulputate justo. Fusce\n lacinia sapien quis quam malesuada elementum. Phasellus consectetur bibendum mi\n, non tempus sem porttitor non. Sed neque velit, fringilla eget mollis in, phare\ntra quis augue. Nunc et tristique augue. Quisque volutpat arcu ut dictum euismod\n. Suspendisse quis rhoncus mauris, in congue ligula. Proin tristique nisl vel te\nmpus volutpat.\n\0'
printf '\033}ts sed bibendum. Aenean ornare placerat arcu, eu blandit lacus feugiat sit amet. P\nhasellus lobortis cursus rutrum. Praesent pulvinar velit non maximus efficitur.\nMauris non velit eget enim tempus sodales. Donec sodales lorem quis diam iaculis\n, vel finibus diam aliquam. In interdum faucibus eleifend. Proin pellentesque, n\nisi a congue euismod, nibh ipsum luctus diam, et iaculis elit arcu vel tellus.\nProin tristique sagittis ornare. Phasellus egestas aliquet euismod. Duis maximus\n lacinia erat, in sollicitudin sem interdum in. Fusce vel vulputate justo. Fusce\n lacinia sapien quis quam malesuada elementum. Phasellus consectetur bibendum mi\n, non tempus sem porttitor non. Sed neque velit, fringilla eget mollis in, phare\ntra quis augue. Nunc et tristique augue. Quisque volutpat arcu ut dictum euismod\n. Suspendisse quis rhoncus mauris, in congue ligula. Proin tristique nisl vel te\nmpus volutpat.\n\0'
remove_selection
@ -72,7 +72,7 @@ printf '\033}tm;500;78;0\0'
printf '\033}td;500;78;1;2;2\0'
printf '\033}tu;500;78;1;2;2\0'
# selection is
printf '\033}tsCras nec porttitor urna. Aliquam vel tellus ligula. In lacinia lorem neque, ac b\nlandit purus sagittis sed. Nullam rhoncus feugiat felis, vel lobortis nunc variu\ns eget. Cras tempor diam ut commodo imperdiet. Donec id odio dolor. Ut cursus ma\nuris sed suscipit aliquam. Interdum et malesuada fames ac ante ipsum primis in f\naucibus. Donec ut diam ullamcorper, pellentesque libero nec, lobortis turpis. Pr\naesent efficitur ipsum ut turpis elementum, in vestibulum augue suscipit. Donec\ndignissim justo id rhoncus sodales.\n\nMauris vulputate magna massa. Donec in magna mi. Aliquam feugiat vestibulum orci\n sed bibendum. Aenean ornare placerat arcu, eu blandit lacus feugiat sit amet. P\nhasellus lobortis cursus rutrum. Praesent pulvinar velit non maximus efficitur.\0'
printf '\033}tsCras nec porttitor urna. Aliquam vel tellus ligula. In lacinia lorem neque, ac b\nlandit purus sagittis sed. Nullam rhoncus feugiat felis, vel lobortis nunc variu\ns eget. Cras tempor diam ut commodo imperdiet. Donec id odio dolor. Ut cursus ma\nuris sed suscipit aliquam. Interdum et malesuada fames ac ante ipsum primis in f\naucibus. Donec ut diam ullamcorper, pellentesque libero nec, lobortis turpis. Pr\naesent efficitur ipsum ut turpis elementum, in vestibulum augue suscipit. Donec\ndignissim justo id rhoncus sodales.\nMauris vulputate magna massa. Donec in magna mi. Aliquam feugiat vestibulum orci\n sed bibendum. Aenean ornare placerat arcu, eu blandit lacus feugiat sit amet. P\nhasellus lobortis cursus rutrum. Praesent pulvinar velit non maximus efficitur.\0'
remove_selection
@ -116,7 +116,7 @@ printf '\033}tm;210;248;0\0'
printf '\033}td;210;248;1;2;2\0'
printf '\033}tu;210;248;1;2;2\0'
# selection is
printf '\033}ts sed bibendum. Aenean ornare placerat arcu, eu blandit lacus feugiat sit amet. P\nhasellus lobortis cursus rutrum. Praesent pulvinar velit non maximus efficitur.\nMauris non velit eget enim tempus sodales. Donec sodales lorem quis diam iaculis\n, vel finibus diam aliquam. In interdum faucibus eleifend. Proin pellentesque, n\nisi a congue euismod, nibh ipsum luctus diam, et iaculis elit arcu vel tellus.\n\nProin tristique sagittis ornare. Phasellus egestas aliquet euismod. Duis maximus\n lacinia erat, in sollicitudin sem interdum in. Fusce vel vulputate justo. Fusce\n lacinia sapien quis quam malesuada elementum. Phasellus consectetur bibendum mi\n, non tempus sem porttitor non. Sed neque velit, fringilla eget mollis in, phare\ntra quis augue. Nunc et tristique augue. Quisque volutpat arcu ut dictum euismod\n. Suspendisse quis rhoncus mauris, in congue ligula. Proin tristique nisl vel te\nmpus volutpat.\n\0'
printf '\033}ts sed bibendum. Aenean ornare placerat arcu, eu blandit lacus feugiat sit amet. P\nhasellus lobortis cursus rutrum. Praesent pulvinar velit non maximus efficitur.\nMauris non velit eget enim tempus sodales. Donec sodales lorem quis diam iaculis\n, vel finibus diam aliquam. In interdum faucibus eleifend. Proin pellentesque, n\nisi a congue euismod, nibh ipsum luctus diam, et iaculis elit arcu vel tellus.\nProin tristique sagittis ornare. Phasellus egestas aliquet euismod. Duis maximus\n lacinia erat, in sollicitudin sem interdum in. Fusce vel vulputate justo. Fusce\n lacinia sapien quis quam malesuada elementum. Phasellus consectetur bibendum mi\n, non tempus sem porttitor non. Sed neque velit, fringilla eget mollis in, phare\ntra quis augue. Nunc et tristique augue. Quisque volutpat arcu ut dictum euismod\n. Suspendisse quis rhoncus mauris, in congue ligula. Proin tristique nisl vel te\nmpus volutpat.\n\0'
remove_selection
@ -138,7 +138,7 @@ printf '\033}tm;500;78;0\0'
printf '\033}td;500;78;1;2;2\0'
printf '\033}tu;500;78;1;2;2\0'
# selection is
printf '\033}tsCras nec porttitor urna. Aliquam vel tellus ligula. In lacinia lorem neque, ac b\nlandit purus sagittis sed. Nullam rhoncus feugiat felis, vel lobortis nunc variu\ns eget. Cras tempor diam ut commodo imperdiet. Donec id odio dolor. Ut cursus ma\nuris sed suscipit aliquam. Interdum et malesuada fames ac ante ipsum primis in f\naucibus. Donec ut diam ullamcorper, pellentesque libero nec, lobortis turpis. Pr\naesent efficitur ipsum ut turpis elementum, in vestibulum augue suscipit. Donec\ndignissim justo id rhoncus sodales.\n\nMauris vulputate magna massa. Donec in magna mi. Aliquam feugiat vestibulum orci\n sed bibendum. Aenean ornare placerat arcu, eu blandit lacus feugiat sit amet. P\nhasellus lobortis cursus rutrum. Praesent pulvinar velit non maximus efficitur.\0'
printf '\033}tsCras nec porttitor urna. Aliquam vel tellus ligula. In lacinia lorem neque, ac b\nlandit purus sagittis sed. Nullam rhoncus feugiat felis, vel lobortis nunc variu\ns eget. Cras tempor diam ut commodo imperdiet. Donec id odio dolor. Ut cursus ma\nuris sed suscipit aliquam. Interdum et malesuada fames ac ante ipsum primis in f\naucibus. Donec ut diam ullamcorper, pellentesque libero nec, lobortis turpis. Pr\naesent efficitur ipsum ut turpis elementum, in vestibulum augue suscipit. Donec\ndignissim justo id rhoncus sodales.\nMauris vulputate magna massa. Donec in magna mi. Aliquam feugiat vestibulum orci\n sed bibendum. Aenean ornare placerat arcu, eu blandit lacus feugiat sit amet. P\nhasellus lobortis cursus rutrum. Praesent pulvinar velit non maximus efficitur.\0'
remove_selection

@ -50,8 +50,7 @@ printf '\033}td;510;78;1;2;0\0'
printf '\033}tu;510;78;1;2;0\0'
printf '\033}tr\0'
# selection is
printf '\033}tse and furious anger those who would attempt to po\nnd you will know My name is the Lord when I lay M\n\n\ns man is beset on all sides by the iniquities of\nevil men. Blessed is he who, in the name of chari\n weak through the valley of darkness, for he is t\0'
printf '\033}tse and furious anger those who would attempt to po\nnd you will know My name is the Lord when I lay M\n\ns man is beset on all sides by the iniquities of\nevil men. Blessed is he who, in the name of chari\n weak through the valley of darkness, for he is t\0'
## sel TO SE
setup_NE_to_SW
@ -82,7 +81,7 @@ printf '\033}td;51;78;1;2;0\0'
printf '\033}tu;51;78;1;2;0\0'
printf '\033}tr\0'
# selection is
printf '\033}tsth great vengeance and furious anger those who wou\noy My brothers. And you will know My name is the L\non thee.\n\nh of the righteous man is beset on all sides by th\nd the tyranny of evil men. Blessed is he who, in t\nll, shepherds the weak through the valley of darkn\0'
printf '\033}tsth great vengeance and furious anger those who wou\noy My brothers. And you will know My name is the L\non thee.\nh of the righteous man is beset on all sides by th\nd the tyranny of evil men. Blessed is he who, in t\nll, shepherds the weak through the valley of darkn\0'
## sel TO middle
setup_NE_to_SW
@ -127,7 +126,7 @@ printf '\033}td;510;78;1;2;0\0'
printf '\033}tu;510;78;1;2;0\0'
printf '\033}tr\0'
# selection is
printf '\033}tse and furious anger those who would attempt to po\nnd you will know My name is the Lord when I lay M\n\n\ns man is beset on all sides by the iniquities of\nevil men. Blessed is he who, in the name of chari\n weak through the valley of darkness, for he is t\0'
printf '\033}tse and furious anger those who would attempt to po\nnd you will know My name is the Lord when I lay M\n\ns man is beset on all sides by the iniquities of\nevil men. Blessed is he who, in the name of chari\n weak through the valley of darkness, for he is t\0'
## sel TO SE
@ -160,7 +159,7 @@ printf '\033}td;51;78;1;2;0\0'
printf '\033}tu;51;78;1;2;0\0'
printf '\033}tr\0'
# selection is
printf '\033}tsth great vengeance and furious anger those who wou\noy My brothers. And you will know My name is the L\non thee.\n\nh of the righteous man is beset on all sides by th\nd the tyranny of evil men. Blessed is he who, in t\nll, shepherds the weak through the valley of darkn\0'
printf '\033}tsth great vengeance and furious anger those who wou\noy My brothers. And you will know My name is the L\non thee.\nh of the righteous man is beset on all sides by th\nd the tyranny of evil men. Blessed is he who, in t\nll, shepherds the weak through the valley of darkn\0'
## sel TO middle
setup_SW_to_NE
@ -204,7 +203,7 @@ printf '\033}td;510;78;1;2;0\0'
printf '\033}tu;510;78;1;2;0\0'
printf '\033}tr\0'
# selection is
printf '\033}tse and furious anger those who would attempt to po\nnd you will know My name is the Lord when I lay M\n\n\ns man is beset on all sides by the iniquities of\nevil men. Blessed is he who, in the name of chari\n weak through the valley of darkness, for he is t\0'
printf '\033}tse and furious anger those who would attempt to po\nnd you will know My name is the Lord when I lay M\n\ns man is beset on all sides by the iniquities of\nevil men. Blessed is he who, in the name of chari\n weak through the valley of darkness, for he is t\0'
## sel TO SE
@ -237,7 +236,7 @@ printf '\033}td;51;78;1;2;0\0'
printf '\033}tu;51;78;1;2;0\0'
printf '\033}tr\0'
# selection is
printf '\033}tsth great vengeance and furious anger those who wou\noy My brothers. And you will know My name is the L\non thee.\n\nh of the righteous man is beset on all sides by th\nd the tyranny of evil men. Blessed is he who, in t\nll, shepherds the weak through the valley of darkn\0'
printf '\033}tsth great vengeance and furious anger those who wou\noy My brothers. And you will know My name is the L\non thee.\nh of the righteous man is beset on all sides by th\nd the tyranny of evil men. Blessed is he who, in t\nll, shepherds the weak through the valley of darkn\0'
## sel TO middle
setup_NW_to_SE
@ -282,7 +281,7 @@ printf '\033}td;510;78;1;2;0\0'
printf '\033}tu;510;78;1;2;0\0'
printf '\033}tr\0'
# selection is
printf '\033}tse and furious anger those who would attempt to po\nnd you will know My name is the Lord when I lay M\n\n\ns man is beset on all sides by the iniquities of\nevil men. Blessed is he who, in the name of chari\n weak through the valley of darkness, for he is t\0'
printf '\033}tse and furious anger those who would attempt to po\nnd you will know My name is the Lord when I lay M\n\ns man is beset on all sides by the iniquities of\nevil men. Blessed is he who, in the name of chari\n weak through the valley of darkness, for he is t\0'
## sel TO SE
@ -315,7 +314,7 @@ printf '\033}td;51;78;1;2;0\0'
printf '\033}tu;51;78;1;2;0\0'
printf '\033}tr\0'
# selection is
printf '\033}tsth great vengeance and furious anger those who wou\noy My brothers. And you will know My name is the L\non thee.\n\nh of the righteous man is beset on all sides by th\nd the tyranny of evil men. Blessed is he who, in t\nll, shepherds the weak through the valley of darkn\0'
printf '\033}tsth great vengeance and furious anger those who wou\noy My brothers. And you will know My name is the L\non thee.\nh of the righteous man is beset on all sides by th\nd the tyranny of evil men. Blessed is he who, in t\nll, shepherds the weak through the valley of darkn\0'
## sel TO middle
setup_SE_to_NW

@ -48,7 +48,7 @@ printf '\033}td;450;78;1;2;1\0'
printf '\033}tu;450;78;1;2;1\0'
printf '\033}tr\0'
# selection is
printf '\033}te and furious anger those who would attempt\nnd you will know My name is the Lord when I\n\n\ns man is beset on all sides by the iniquiti\n evil men. Blessed is he who, in the name of\n weak through the valley of darkness, for h\0'
printf '\033}te and furious anger those who would attempt\nnd you will know My name is the Lord when I\n\ns man is beset on all sides by the iniquiti\n evil men. Blessed is he who, in the name of\n weak through the valley of darkness, for h\0'
## sel TO SE
@ -80,7 +80,7 @@ printf '\033}td;51;78;1;2;1\0'
printf '\033}tu;51;78;1;2;1\0'
printf '\033}tr\0'
# selection is
printf '\033}tswith great vengeance and furious anger those who wou\ntroy My brothers. And you will know My name is the L\nupon thee.\n\nath of the righteous man is beset on all sides by th\nand the tyranny of evil men. Blessed is he who, in t\nwill, shepherds the weak through the valley of darkn\0'
printf '\033}tswith great vengeance and furious anger those who wou\ntroy My brothers. And you will know My name is the L\nupon thee.\nath of the righteous man is beset on all sides by th\nand the tyranny of evil men. Blessed is he who, in t\nwill, shepherds the weak through the valley of darkn\0'
## sel TO middle
setup_NE_to_SW
@ -122,7 +122,7 @@ printf '\033}td;510;78;1;2;1\0'
printf '\033}tu;510;78;1;2;1\0'
printf '\033}tr\0'
# selection is
printf '\033}tse and furious anger those who would attempt to poison\nnd you will know My name is the Lord when I lay My ve\n\n\ns man is beset on all sides by the iniquities of the\nevil men. Blessed is he who, in the name of charity a\n weak through the valley of darkness, for he is truly\0'
printf '\033}tse and furious anger those who would attempt to poison\nnd you will know My name is the Lord when I lay My ve\n\ns man is beset on all sides by the iniquities of the\nevil men. Blessed is he who, in the name of charity a\n weak through the valley of darkness, for he is truly\0'
## sel TO SE
@ -155,7 +155,7 @@ printf '\033}td;51;78;1;2;1\0'
printf '\033}tu;51;78;1;2;1\0'
printf '\033}tr\0'
# selection is
printf '\033}tswith great vengeance and furious anger those who wou\ntroy My brothers. And you will know My name is the L\nupon thee.\n\nath of the righteous man is beset on all sides by th\nand the tyranny of evil men. Blessed is he who, in t\nwill, shepherds the weak through the valley of darkn\0'
printf '\033}tswith great vengeance and furious anger those who wou\ntroy My brothers. And you will know My name is the L\nupon thee.\nath of the righteous man is beset on all sides by th\nand the tyranny of evil men. Blessed is he who, in t\nwill, shepherds the weak through the valley of darkn\0'
## sel TO middle
setup_SW_to_NE
@ -196,7 +196,7 @@ printf '\033}td;510;78;1;2;1\0'
printf '\033}tu;510;78;1;2;1\0'
printf '\033}tr\0'
# selection is
printf '\033}tse and furious anger those who would attempt to poison\nnd you will know My name is the Lord when I lay My ve\n\n\ns man is beset on all sides by the iniquities of the\nevil men. Blessed is he who, in the name of charity a\n weak through the valley of darkness, for he is truly\0'
printf '\033}tse and furious anger those who would attempt to poison\nnd you will know My name is the Lord when I lay My ve\n\ns man is beset on all sides by the iniquities of the\nevil men. Blessed is he who, in the name of charity a\n weak through the valley of darkness, for he is truly\0'
## sel TO SE
@ -229,7 +229,7 @@ printf '\033}td;51;78;1;2;1\0'
printf '\033}tu;51;78;1;2;1\0'
printf '\033}tr\0'
# selection is
printf '\033}tswith great vengeance and furious anger those who wou\ntroy My brothers. And you will know My name is the L\nupon thee.\n\nath of the righteous man is beset on all sides by th\nand the tyranny of evil men. Blessed is he who, in t\nwill, shepherds the weak through the valley of darkn\0'
printf '\033}tswith great vengeance and furious anger those who wou\ntroy My brothers. And you will know My name is the L\nupon thee.\nath of the righteous man is beset on all sides by th\nand the tyranny of evil men. Blessed is he who, in t\nwill, shepherds the weak through the valley of darkn\0'
## sel TO middle
setup_NW_to_SE
@ -271,7 +271,7 @@ printf '\033}td;510;78;1;2;1\0'
printf '\033}tu;510;78;1;2;1\0'
printf '\033}tr\0'
# selection is
printf '\033}tse and furious anger those who would attempt to poison\nnd you will know My name is the Lord when I lay My ve\n\n\ns man is beset on all sides by the iniquities of the\nevil men. Blessed is he who, in the name of charity a\n weak through the valley of darkness, for he is truly\0'
printf '\033}tse and furious anger those who would attempt to poison\nnd you will know My name is the Lord when I lay My ve\n\ns man is beset on all sides by the iniquities of the\nevil men. Blessed is he who, in the name of charity a\n weak through the valley of darkness, for he is truly\0'
## sel TO SE
@ -304,7 +304,7 @@ printf '\033}td;51;78;1;2;1\0'
printf '\033}tu;51;78;1;2;1\0'
printf '\033}tr\0'
# selection is
printf '\033}tswith great vengeance and furious anger those who wou\ntroy My brothers. And you will know My name is the L\nupon thee.\n\nath of the righteous man is beset on all sides by th\nand the tyranny of evil men. Blessed is he who, in t\nwill, shepherds the weak through the valley of darkn\0'
printf '\033}tswith great vengeance and furious anger those who wou\ntroy My brothers. And you will know My name is the L\nupon thee.\nath of the righteous man is beset on all sides by th\nand the tyranny of evil men. Blessed is he who, in t\nwill, shepherds the weak through the valley of darkn\0'
## sel TO middle
setup_SE_to_NW

Loading…
Cancel
Save