Exemplo n.º 1
0
        public void AddInPlace_IfThisIsEmptyAndOtherIsEmpty_ThrowArgumentException()
        {
            var target = new double[0][];
            var other  = new double[0][];

            Action action = () => target.AddInPlace(other);

            action.ShouldThrow <ArgumentException>()
            .WithMessage("*Argument 'target' cannot be empty.*")
            .Where(e => e.ParamName == "target");
        }