diff --git a/main/tests/server/src/com/google/refine/tests/model/CellTests.java b/main/tests/server/src/com/google/refine/tests/model/CellTests.java index 3872e68bc..d8cf868cb 100644 --- a/main/tests/server/src/com/google/refine/tests/model/CellTests.java +++ b/main/tests/server/src/com/google/refine/tests/model/CellTests.java @@ -95,4 +95,18 @@ public class CellTests { String json = "{\"v\":\"2018-03-04T08:09:10Z\",\"t\":\"date\"}"; TestUtils.isSerializedTo(Cell.loadStreaming(json, pool), json); } + + @Test + public void serializeNumberCell() throws Exception { + String json = "{\"v\": 1}"; + Cell c = Cell.loadStreaming(json, pool); + TestUtils.isSerializedTo(c, json); + } + + @Test + public void serializeBooleanCell() throws Exception { + String json = "{\"v\": true}"; + Cell c = Cell.loadStreaming(json, pool); + TestUtils.isSerializedTo(c, json); + } }