public void NullIsNull()
        {
            var converter = new SKConfettiPhysicsTypeConverter();

            var result = converter.ConvertFromInvariantString(null);

            Assert.Null(result);
        }
        public void CanParsePointValues(string value)
        {
            var converter = new SKConfettiPhysicsTypeConverter();

            var result = converter.ConvertFromInvariantString(value);

            var physics = Assert.IsType <SKConfettiPhysics>(result);

            Assert.Equal(12, physics.Size);
            Assert.Equal(34, physics.Mass);
        }
        public void ThrowsOnBadValues(string value)
        {
            var converter = new SKConfettiPhysicsTypeConverter();

            Assert.Throws <InvalidOperationException>(() => converter.ConvertFromInvariantString(value));
        }