Skip to content

Commit

Permalink
Regen tests with new CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
aazuspan committed Dec 6, 2024
1 parent bc2ea15 commit c758d1f
Show file tree
Hide file tree
Showing 39 changed files with 437 additions and 536 deletions.
459 changes: 202 additions & 257 deletions tests/data/test_full_repr.yml

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions tests/data/test_regression_objects_array_.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'<li><label class=''ee-shut''>[[1, 2], [3, 4]]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><label
class=''ee-shut''>0: [1, 2]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>2</span></li></ul></li><li><label class=''ee-shut''>1: [3, 4]<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>3</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>4</span></li></ul></li></ul></li>'
'<li><details><summary>[[1, 2], [3, 4]]</summary><ul><li><details><summary>0: [1,
2]</summary><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>2</span></li></ul></details></li><li><details><summary>1:
[3, 4]</summary><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>3</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>4</span></li></ul></details></li></ul></details></li>'
14 changes: 6 additions & 8 deletions tests/data/test_regression_objects_band_dict_.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
'<li><label class=''ee-shut''>"B1", unsigned int16, EPSG:32610, 1830x1830 px<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>id:</span><span
class=''ee-v''>B1</span></li><li><span class=''ee-k''>crs:</span><span class=''ee-v''>EPSG:32610</span></li><li><label
class=''ee-shut''>data_type: unsigned int16<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
'<li><details><summary>"B1", unsigned int16, EPSG:32610, 1830x1830 px</summary><ul><li><span
class=''ee-k''>id:</span><span class=''ee-v''>B1</span></li><li><span class=''ee-k''>crs:</span><span
class=''ee-v''>EPSG:32610</span></li><li><details><summary>data_type: unsigned int16</summary><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>PixelType</span></li><li><span class=''ee-k''>max:</span><span
class=''ee-v''>65535</span></li><li><span class=''ee-k''>min:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>precision:</span><span class=''ee-v''>int</span></li></ul></li><li><label
class=''ee-shut''>dimensions: [1830, 1830]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1830</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>1830</span></li></ul></li></ul></li>'
class=''ee-k''>precision:</span><span class=''ee-v''>int</span></li></ul></details></li><li><details><summary>dimensions:
[1830, 1830]</summary><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>1830</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>1830</span></li></ul></details></li></ul></details></li>'
4 changes: 2 additions & 2 deletions tests/data/test_regression_objects_classifier_.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<li><label class='ee-shut'>Classifier.smileKNN<input type='checkbox' class='ee-toggle'></label><ul><li><span
class='ee-k'>type:</span><span class='ee-v'>Classifier.smileKNN</span></li></ul></li>
<li><details><summary>Classifier.smileKNN</summary><ul><li><span class='ee-k'>type:</span><span
class='ee-v'>Classifier.smileKNN</span></li></ul></details></li>
...
6 changes: 3 additions & 3 deletions tests/data/test_regression_objects_clusterer_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<li><label class='ee-shut'>Clusterer.wekaKMeans<input type='checkbox' class='ee-toggle'></label><ul><li><span
class='ee-k'>type:</span><span class='ee-v'>Clusterer.wekaKMeans</span></li><li><span
class='ee-k'>nClusters:</span><span class='ee-v'>2</span></li></ul></li>
<li><details><summary>Clusterer.wekaKMeans</summary><ul><li><span class='ee-k'>type:</span><span
class='ee-v'>Clusterer.wekaKMeans</span></li><li><span class='ee-k'>nClusters:</span><span
class='ee-v'>2</span></li></ul></details></li>
...
11 changes: 5 additions & 6 deletions tests/data/test_regression_objects_confusion_matrix_.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'<li><label class=''ee-shut''>[[1, 2], [3, 4]]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><label
class=''ee-shut''>0: [1, 2]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>2</span></li></ul></li><li><label class=''ee-shut''>1: [3, 4]<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>3</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>4</span></li></ul></li></ul></li>'
'<li><details><summary>[[1, 2], [3, 4]]</summary><ul><li><details><summary>0: [1,
2]</summary><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>2</span></li></ul></details></li><li><details><summary>1:
[3, 4]</summary><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>3</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>4</span></li></ul></details></li></ul></details></li>'
29 changes: 13 additions & 16 deletions tests/data/test_regression_objects_constant_image_.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
'<li><label class=''ee-shut''>Image foo (1 band)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Image</span></li><li><span class=''ee-k''>id:</span><span
class=''ee-v''>foo</span></li><li><label class=''ee-shut''>bands: List (1 element)<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><label class=''ee-shut''>0:
"constant", int ∈ [0, 0], EPSG:4326<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>id:</span><span class=''ee-v''>constant</span></li><li><span class=''ee-k''>crs:</span><span
class=''ee-v''>EPSG:4326</span></li><li><label class=''ee-shut''>crs_transform:
[1, 0, 0, 0, 1, 0]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>2:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>3:</span><span class=''ee-v''>0</span></li><li><span class=''ee-k''>4:</span><span
class=''ee-v''>1</span></li><li><span class=''ee-k''>5:</span><span class=''ee-v''>0</span></li></ul></li><li><label
class=''ee-shut''>data_type: int ∈ [0, 0]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>PixelType</span></li><li><span class=''ee-k''>max:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>min:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>precision:</span><span class=''ee-v''>int</span></li></ul></li></ul></li></ul></li></ul></li>'
'<li><details><summary>Image foo (1 band)</summary><ul><li><span class=''ee-k''>type:</span><span
class=''ee-v''>Image</span></li><li><span class=''ee-k''>id:</span><span class=''ee-v''>foo</span></li><li><details><summary>bands:
List (1 element)</summary><ul><li><details><summary>0: "constant", int ∈ [0, 0],
EPSG:4326</summary><ul><li><span class=''ee-k''>id:</span><span class=''ee-v''>constant</span></li><li><span
class=''ee-k''>crs:</span><span class=''ee-v''>EPSG:4326</span></li><li><details><summary>crs_transform:
[1, 0, 0, 0, 1, 0]</summary><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>1</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>0</span></li><li><span class=''ee-k''>2:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>3:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>4:</span><span class=''ee-v''>1</span></li><li><span class=''ee-k''>5:</span><span
class=''ee-v''>0</span></li></ul></details></li><li><details><summary>data_type:
int ∈ [0, 0]</summary><ul><li><span class=''ee-k''>type:</span><span class=''ee-v''>PixelType</span></li><li><span
class=''ee-k''>max:</span><span class=''ee-v''>0</span></li><li><span class=''ee-k''>min:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>precision:</span><span class=''ee-v''>int</span></li></ul></details></li></ul></details></li></ul></details></li></ul></details></li>'
5 changes: 2 additions & 3 deletions tests/data/test_regression_objects_date_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<li><label class='ee-shut'>Date (2021-03-27 14:01:07)<input type='checkbox' class='ee-toggle'></label><ul><li><span
class='ee-k'>type:</span><span class='ee-v'>Date</span></li><li><span class='ee-k'>value:</span><span
class='ee-v'>1616853667000</span></li></ul></li>
<li><details><summary>Date (2021-03-27 14:01:07)</summary><ul><li><span class='ee-k'>type:</span><span
class='ee-v'>Date</span></li><li><span class='ee-k'>value:</span><span class='ee-v'>1616853667000</span></li></ul></details></li>
...
11 changes: 5 additions & 6 deletions tests/data/test_regression_objects_daterange_.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'<li><label class=''ee-shut''>DateRange [2020-01-01 21:01:10, 2022-03-01 14:32:11]<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>type:</span><span
class=''ee-v''>DateRange</span></li><li><label class=''ee-shut''>dates: [1577912470000,
1646145131000]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>0:</span><span class=''ee-v''>1577912470000</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>1646145131000</span></li></ul></li></ul></li>'
'<li><details><summary>DateRange [2020-01-01 21:01:10, 2022-03-01 14:32:11]</summary><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>DateRange</span></li><li><details><summary>dates:
[1577912470000, 1646145131000]</summary><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>1577912470000</span></li><li><span class=''ee-k''>1:</span><span
class=''ee-v''>1646145131000</span></li></ul></details></li></ul></details></li>'
4 changes: 2 additions & 2 deletions tests/data/test_regression_objects_dict_.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<li><label class='ee-shut'>Object (1 property)<input type='checkbox' class='ee-toggle'></label><ul><li><span
class='ee-k'>foo:</span><span class='ee-v'>bar</span></li></ul></li>
<li><details><summary>Object (1 property)</summary><ul><li><span class='ee-k'>foo:</span><span
class='ee-v'>bar</span></li></ul></details></li>
...
14 changes: 6 additions & 8 deletions tests/data/test_regression_objects_feature_.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
'<li><label class=''ee-shut''>Feature (Point, 1 property)<input type=''checkbox''
class=''ee-toggle''></label><ul><li><span class=''ee-k''>type:</span><span class=''ee-v''>Feature</span></li><li><label
class=''ee-shut''>geometry: Point (0.00, 0.00)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Point</span></li><li><label class=''ee-shut''>coordinates:
[0, 0]<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>0</span></li></ul></li></ul></li><li><label
class=''ee-shut''>properties: Object (1 property)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>foo:</span><span class=''ee-v''>bar</span></li></ul></li></ul></li>'
'<li><details><summary>Feature (Point, 1 property)</summary><ul><li><span class=''ee-k''>type:</span><span
class=''ee-v''>Feature</span></li><li><details><summary>geometry: Point (0.00, 0.00)</summary><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Point</span></li><li><details><summary>coordinates:
[0, 0]</summary><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>0</span></li></ul></details></li></ul></details></li><li><details><summary>properties:
Object (1 property)</summary><ul><li><span class=''ee-k''>foo:</span><span class=''ee-v''>bar</span></li></ul></details></li></ul></details></li>'
24 changes: 10 additions & 14 deletions tests/data/test_regression_objects_feature_collection_.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
'<li><label class=''ee-shut''>FeatureCollection (1 element, 2 columns)<input type=''checkbox''
class=''ee-toggle''></label><ul><li><span class=''ee-k''>type:</span><span class=''ee-v''>FeatureCollection</span></li><li><label
class=''ee-shut''>columns: Object (2 properties)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>foo:</span><span class=''ee-v''>String</span></li><li><span class=''ee-k''>system:index:</span><span
class=''ee-v''>String</span></li></ul></li><li><label class=''ee-shut''>features:
List (1 element)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><label
class=''ee-shut''>0: Feature (Point, 1 property)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
'<li><details><summary>FeatureCollection (1 element, 2 columns)</summary><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>FeatureCollection</span></li><li><details><summary>columns:
Object (2 properties)</summary><ul><li><span class=''ee-k''>foo:</span><span class=''ee-v''>String</span></li><li><span
class=''ee-k''>system:index:</span><span class=''ee-v''>String</span></li></ul></details></li><li><details><summary>features:
List (1 element)</summary><ul><li><details><summary>0: Feature (Point, 1 property)</summary><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Feature</span></li><li><span class=''ee-k''>id:</span><span
class=''ee-v''>0</span></li><li><label class=''ee-shut''>geometry: Point (0.00,
0.00)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>type:</span><span
class=''ee-v''>Point</span></li><li><label class=''ee-shut''>coordinates: [0, 0]<input
type=''checkbox'' class=''ee-toggle''></label><ul><li><span class=''ee-k''>0:</span><span
class=''ee-v''>0</span></li><li><span class=''ee-k''>1:</span><span class=''ee-v''>0</span></li></ul></li></ul></li><li><label
class=''ee-shut''>properties: Object (1 property)<input type=''checkbox'' class=''ee-toggle''></label><ul><li><span
class=''ee-k''>foo:</span><span class=''ee-v''>bar</span></li></ul></li></ul></li></ul></li></ul></li>'
class=''ee-v''>0</span></li><li><details><summary>geometry: Point (0.00, 0.00)</summary><ul><li><span
class=''ee-k''>type:</span><span class=''ee-v''>Point</span></li><li><details><summary>coordinates:
[0, 0]</summary><ul><li><span class=''ee-k''>0:</span><span class=''ee-v''>0</span></li><li><span
class=''ee-k''>1:</span><span class=''ee-v''>0</span></li></ul></details></li></ul></details></li><li><details><summary>properties:
Object (1 property)</summary><ul><li><span class=''ee-k''>foo:</span><span class=''ee-v''>bar</span></li></ul></details></li></ul></details></li></ul></details></li></ul></details></li>'
6 changes: 3 additions & 3 deletions tests/data/test_regression_objects_filter_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<li><label class='ee-shut'>Filter.eq<input type='checkbox' class='ee-toggle'></label><ul><li><span
class='ee-k'>type:</span><span class='ee-v'>Filter.eq</span></li><li><span class='ee-k'>leftField:</span><span
class='ee-v'>foo</span></li><li><span class='ee-k'>rightValue:</span><span class='ee-v'>bar</span></li></ul></li>
<li><details><summary>Filter.eq</summary><ul><li><span class='ee-k'>type:</span><span
class='ee-v'>Filter.eq</span></li><li><span class='ee-k'>leftField:</span><span
class='ee-v'>foo</span></li><li><span class='ee-k'>rightValue:</span><span class='ee-v'>bar</span></li></ul></details></li>
...
Loading

0 comments on commit c758d1f

Please sign in to comment.