Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase
Using Seed 1214985585025352704
This apply will demonstrate the key's JSON serialization, and verify deserialization integrity.
SerializationTest.java:99 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.NthPowerActivationLayer",
"id": "26667de4-d2ab-42cb-bb95-b0f0aaf5a651",
"isFrozen": false,
"name": "NthPowerActivationLayer",
"power": 0.0
}
Wrote Model to NthPowerActivationLayer_jsonTest.json; 200 characters
LayerTests.java:425 executed in 0.00 seconds (0.000 gc):
throwException(exceptions.addRef());
class | result |
---|---|
com.simiacryptus.mindseye.test.unit.SerializationTest | OK |
{
"result": "OK",
"performance": {
"execution_time": "0.511",
"gc_time": "0.244"
},
"created_on": 1586737727747,
"file_name": "jsonTest",
"report": {
"simpleName": "ZeroPowerTest",
"canonicalName": "com.simiacryptus.mindseye.layers.java.NthPowerActivationLayerTest.ZeroPowerTest",
"link": "https://github.com/SimiaCryptus/mindseye-java/tree/93db34cedee48c0202777a2b25deddf1dfaf5731/src/test/java/com/simiacryptus/mindseye/layers/java/NthPowerActivationLayerTest.java",
"javaDoc": ""
},
"archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/java/NthPowerActivationLayer/ZeroPowerTest/jsonTest/202004132847",
"id": "f4744970-c5a0-4275-8d9e-4a527d053dee",
"report_type": "Components",
"display_name": "JSON Serialization",
"target": {
"simpleName": "NthPowerActivationLayer",
"canonicalName": "com.simiacryptus.mindseye.layers.java.NthPowerActivationLayer",
"link": "https://github.com/SimiaCryptus/mindseye-java/tree/93db34cedee48c0202777a2b25deddf1dfaf5731/src/main/java/com/simiacryptus/mindseye/layers/java/NthPowerActivationLayer.java",
"javaDoc": ""
}
}