public void ParseLiteral_Point_With_Valid_Coordinates_Scalar() { // arrange GeometryType type = CreateScalarType(); // act object?result = type.ParseLiteral( new ObjectValueNode( new ObjectFieldNode( "type", new EnumValueNode(nameof(GeoJsonGeometryType.Point))), new ObjectFieldNode("coordinates", _point))); // assert Assert.Equal(30, Assert.IsType <Point>(result).X); Assert.Equal(10, Assert.IsType <Point>(result).Y); }