- changed status to resolved
Optics: missing tests
Issue #54
resolved
For each optics for which their is laws, an <OpticSpec> should be created fugue-scala/src/test/scala/io/atlassian/fugue/optic/ with the following content:
- a test for the optic laws.
- for each as<OtherOptic> method, a test that the resulting optic satisfy corresponding laws.
- for each compose<OtherOptic>, a test that the resulting optic satisfy corresponding laws.
for now, only 1 and 2 has been done, and only for Prism in PrismSpec.
Then the laws of optic instances defined in /fugue-optics/src/main/java/io/atlassian/fugue/optic/std/ should also be checked.
Comments (1)
-
- Log in to comment
timing out