All Downloads are FREE. Search and download functionalities are using the official Maven repository.

algebra.laws.IsSerializable.scala Maven / Gradle / Ivy

The newest version!
package algebra.laws

import scala.util.DynamicVariable

/**
  * Object with a dynamic variable that allows users to skip the
  * serialization tests for certain instances.
  */
private[laws] object IsSerializable {
  val runTests = new DynamicVariable[Boolean](true)
  def apply(): Boolean = runTests.value
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy