public void Deserialize_ShouldEqual()
        {
            var endPoint = EndPoint <float> .Closed(4.3f);

            var formatter = new BinaryFormatter();
            EndPoint <float> deserialized;

            using (var stream = new MemoryStream())
            {
                formatter.Serialize(stream, endPoint);

                stream.Position = 0;
                deserialized    = (EndPoint <float>)formatter.Deserialize(stream);
            }

            Assert.That(deserialized, Is.Not.SameAs(endPoint));
            Assert.That(deserialized, Is.EqualTo(endPoint));
        }
        public void Closed_ShouldReturnInclusive()
        {
            var closedPoint = EndPoint <float> .Closed(5f);

            Assert.That(closedPoint.Inclusive);
        }