"use strict"
let Serialize = require('./Main')
let Assert = require('assert')

Assert.equal(
  Serialize.unserialize(Serialize.serialize(1)), 1, "Works with integers"
)

Assert.equal(
  Serialize.unserialize(Serialize.serialize(true)), true, "Works with booleans"
)

Assert.equal(
  Serialize.unserialize(Serialize.serialize(1.1)), 1.1, "Works with Floats"
)

Assert.equal(
  Serialize.unserialize(Serialize.serialize("a")), "a", "Works with Strings"
)

Assert.equal(
  Serialize.unserialize(Serialize.serialize(null)), null, "Works with null"
)

Assert.deepEqual(
  Serialize.unserialize(Serialize.serialize({a: "a"})), {a: "a"}, "Works with Objects"
)

@@ -643,12 +643,114 @@
  Objects%22%0A)%0A
+%0AAssert.deepEqual(%0A  Serialize.unserialize(Serialize.serialize(%5B1, 2%5D)), %5B1, 2%5D, %22Works with Arrays%22%0A)

Add Test for arrays