1. Test Modules
  2. Serialization
    1. Raw Json
  3. Results

Target Description: The type Unpooling layer.

Report Description: The type Basic.

Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase

Test Modules

Using Seed 9041171853966901248

Serialization

This apply will demonstrate the key's JSON serialization, and verify deserialization integrity.

Raw Json

SerializationTest.java:129 executed in 0.00 seconds (0.000 gc):

    final JsonObject json = layer.getJson().getAsJsonObject();
    @Nonnull final Layer echo = Layer.fromJson(json);
    if (layer == echo) {
      echo.freeRef();
      throw new AssertionError("Serialization did not copy");
    }
    if (!layer.equals(echo)) {
      echo.freeRef();
      throw new AssertionError("Serialization not equal");
    }
    echo.freeRef();
    return json;

Returns

    {
      "class": "com.simiacryptus.mindseye.layers.java.UnpoolingLayer",
      "id": "d94e0370-4bfe-4adb-9c22-022af42f3709",
      "isFrozen": false,
      "name": "UnpoolingLayer",
      "sizeX": 2,
      "sizeY": 2
    }

Wrote Model to UnpoolingLayer_jsonTest.json; 194 characters

LayerTests.java:605 executed in 0.00 seconds (0.000 gc):

    throwException(exceptions.addRef());

Results

classresult
com.simiacryptus.mindseye.test.unit.SerializationTestOK
  {
    "result": "OK",
    "performance": {
      "execution_time": "0.505",
      "gc_time": "0.223"
    },
    "created_on": 1587006441014,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "Basic",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.UnpoolingLayerTest.Basic",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/c9a1867488dc7e77a975f095285b5882c0486db6/src/test/java/com/simiacryptus/mindseye/layers/java/UnpoolingLayerTest.java",
      "javaDoc": "The type Basic."
    },
    "archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/java/UnpoolingLayer/Basic/jsonTest/202004160720",
    "id": "3d93f802-a022-4c9b-92a1-0c3543f4c284",
    "report_type": "Components",
    "display_name": "JSON Serialization",
    "target": {
      "simpleName": "UnpoolingLayer",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.UnpoolingLayer",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/c9a1867488dc7e77a975f095285b5882c0486db6/src/main/java/com/simiacryptus/mindseye/layers/java/UnpoolingLayer.java",
      "javaDoc": "The type Unpooling layer."
    }
  }