//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test void shouldReportUnknownCRSPointRecord() internal virtual void ShouldReportUnknownCRSPointRecord() { // given PropertyRecord property = InUse(new PropertyRecord(42)); const int keyId = 6; Add(InUse(new PropertyKeyTokenRecord(keyId))); //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final long[] longs = org.neo4j.kernel.impl.store.GeometryType.encodePoint(keyId, org.neo4j.values.storable.CoordinateReferenceSystem.WGS84, new double[] { 1.0, 2.0 }); long[] longs = GeometryType.encodePoint(keyId, CoordinateReferenceSystem.WGS84, new double[] { 1.0, 2.0 }); // corrupt array long crsTableIdAndCodeBits = 0xFFFFL << StandardFormatSettings.PROPERTY_TOKEN_MAXIMUM_ID_BITS + 12; longs[0] |= crsTableIdAndCodeBits; ExpectInvalidPropertyValue(property, longs); }
private static void AssertGeometryTypeEqual(GeometryType expected, JsonNode element) { assertEquals(expected.Name, element.get("type").asText()); }
private Value GeometryValue() { return(GeometryType.decode(Blocks, _block)); }