@@ -302,11 +302,12 @@ class FeatureTestCase {
302302 @Test void getGeobuf () {
303303 Schema schema = new Schema (" houses" , [new Field (" geom" ," Point" ), new Field (" name" ," string" ), new Field (" price" ," float" )])
304304 Feature feature = new Feature ([new Point (111 ,-47 ), " House" , 12.5 ], " house1" , schema)
305- assertEquals " 0a046e616d650a057072696365100218062a1f0a0c08001a" +
306- " 0880e7ed69ffa6e92c6a070a05486f7573656a060a0431322e35" , feature. geobuf
307- assertArrayEquals ([10 , 4 , 110 , 97 , 109 , 101 , 10 , 5 , 112 , 114 , 105 , 99 , 101 , 16 , 2 , 24 , 6 , 42 , 31 , 10 , 12 , 8 , 0 ,
308- 26 , 8 , -128 , -25 , -19 , 105 , -1 , -90 , -23 , 44 , 106 , 7 , 10 , 5 , 72 , 111 , 117 , 115 , 101 , 106 , 6 ,
309- 10 , 4 , 49 , 50 , 46 , 53 ] as byte [], feature. geobufBytes)
305+ assertEquals " 0a046e616d650a057072696365100218062a2d0a0c08001a0880e7ed69ff" +
306+ " a6e92c5a06686f757365316a070a05486f7573656a060a0431322e35720400000101" , feature. geobuf
307+ assertArrayEquals ([10 , 4 , 110 , 97 , 109 , 101 , 10 , 5 , 112 , 114 , 105 , 99 , 101 , 16 , 2 , 24 , 6 , 42 , 45 , 10 , 12 , 8 , 0 ,
308+ 26 , 8 , -128 , -25 , -19 , 105 , -1 , -90 , -23 , 44 , 90 , 6 , 104 , 111 , 117 , 115 , 101 , 49 , 106 , 7 , 10 ,
309+ 5 , 72 , 111 , 117 , 115 , 101 , 106 , 6 , 10 , 4 , 49 , 50 , 46 ,
310+ 53 , 114 , 4 , 0 , 0 , 1 , 1 ] as byte [], feature. geobufBytes)
310311 }
311312
312313 @Test void fromGeobuf () {
0 commit comments