Example #1
0
        public void MultiMemberDataAttribute_succeeds_for_multiple_data_sources_with_multple_values( )
        {
            var method          = IntDoubleDoubleMethod(default(int), default(double), default(double));
            var attribute       = new MultiMemberDataAttribute(IntsName, MultiDoublesName);
            var rawPropertyData = new[] { Ints.ToArray( ), multiDoubles_ };
            var propertyData    = GetFlattenedPermutations(rawPropertyData);

            var attributeData = attribute.GetData(method).ToArray( );

            Assert.Equal(propertyData, attributeData, Comparer);
        }