
cats.laws.discipline.SerializableTests.scala Maven / Gradle / Ivy
The newest version!
package cats
package laws
package discipline
import org.typelevel.discipline.Laws
object SerializableTests extends Laws {
def serializable[A](a: A): RuleSet =
new DefaultRuleSet(
name = "serializable",
parent = None,
"can serialize and deserialize" -> SerializableLaws.serializable(a))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy