Repository: staircase-dev/staircase (language: python)

Issue:
ENH: Missing test for Stairs.logical_xor for Stairs over float domain
#### Describe the solution you'd like

Belongs here:

https://github.com/staircase-dev/staircase/blob/00da1209eec21d3ea11f0f18f538637d2bae5ecf/tests/test_floats/test_floats_logical.py

Docs:
https://www.staircase.dev/en/latest/reference/api/staircase.Stairs.logical_xor.html

Is tested with a Stairs and scalar operands but needs to be tested with two Stairs operands.




Discussion / hints:
take

Fix patch:
diff --git a/docs/release_notes/changelog.rst b/docs/release_notes/changelog.rst
index 3bd2a99..6980c82 100644
--- a/docs/release_notes/changelog.rst
+++ b/docs/release_notes/changelog.rst
@@ -5,6 +5,9 @@
 Changelog
 =========
 
+UNRELEASED
+
+- added test for :meth:`staircase.Stairs.logical_xor` with two Stairs arguments
 
 v2.0.0 2021-08-25
 
@@ -123,4 +126,4 @@ v1.0.0 2020-09-01
 
 - updated documentation to include :ref:`A note on interval endpoints<getting_started.interval_endpoints>`
 - parameter *start* in :meth:`staircase.Stairs.layer` made optional to make method symmetric with respect to time
-- removed *staircase.Stairs.evaluate* method (superseded by :meth:`staircase.Stairs.sample`)
\ No newline at end of file
+- removed *staircase.Stairs.evaluate* method (superseded by :meth:`staircase.Stairs.sample`)


Test patch:
diff --git a/tests/test_floats/test_floats_logical.py b/tests/test_floats/test_floats_logical.py
index 168ae4b..d75c5ea 100644
--- a/tests/test_floats/test_floats_logical.py
+++ b/tests/test_floats/test_floats_logical.py
@@ -157,6 +157,14 @@ def test_logical_rxor_scalar_3(s3_fix):
     assert (np.nan ^ s3_fix).identical(np.nan)
 
 
+def test_logical_xor_stairs_1(s3_fix):
+    assert (s3_fix ^ s3_fix).identical(0)
+
+
+def test_logical_xor_stairs_2(s3_fix):
+    assert (s3_fix ^ ~s3_fix).identical(1)
+
+
 def test_make_boolean(s2_fix):
     int_seq = s2_fix
     calc = int_seq.make_boolean()