From d9a6e1eff0f5609b5553ba02c02b84e8304a9756 Mon Sep 17 00:00:00 2001 From: Bipin Date: Wed, 6 Jan 2021 10:41:07 +0100 Subject: [PATCH] GeometryStart --- .../a1/nextlocation/GeometryDecoderTest.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app/src/test/java/com/a1/nextlocation/GeometryDecoderTest.java diff --git a/app/src/test/java/com/a1/nextlocation/GeometryDecoderTest.java b/app/src/test/java/com/a1/nextlocation/GeometryDecoderTest.java new file mode 100644 index 0000000..2a12c8c --- /dev/null +++ b/app/src/test/java/com/a1/nextlocation/GeometryDecoderTest.java @@ -0,0 +1,22 @@ +package com.a1.nextlocation; + +import com.a1.nextlocation.json.GeometryDecoder; +import com.google.gson.JsonArray; + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class GeometryDecoderTest { + + @Test + public void geometryDecoderTest(){ + String encodedGeometryTest = ""; + + JsonArray expected = new JsonArray(); + + + + assertEquals(expected, GeometryDecoder.decodeGeometry(encodedGeometryTest, true)); + } +}