Пример #1
0
 public void MakeTupleType_fails_nine_Qs()
 {
     Assert.Throws <ArgumentException>(
         () => HarshTuple.MakeTupleType(NineQs)
         );
 }
Пример #2
0
 public void MakeTupleType_fails_empty()
 {
     Assert.Throws <ArgumentException>(
         () => HarshTuple.MakeTupleType()
         );
 }
Пример #3
0
        public void MakeTupleType_creates_nested_tuple_eighteen()
        {
            var actual = HarshTuple.MakeTupleType(EighteenQs);

            Assert.Equal(EighteenQsType, actual);
        }
Пример #4
0
 public void MakeTupleType_makes_tuple_type(Type expected, params Type[] args)
 {
     Assert.Equal(expected, HarshTuple.MakeTupleType(args));
 }
Пример #5
0
        public void MakeTupleType_creates_nested_tuple_nine()
        {
            var actual = HarshTuple.MakeTupleType(NineQs);

            Assert.Equal(NineQsType, actual);
        }