public void FromArray() { int[] array = { 1, 2, 3 }; CborArray actual = CborArray.FromCollection(array); Assert.Equal(new CborArray(1, 2, 3), actual); }
public void FromList() { List <int> list = new List <int> { 1, 2, 3 }; CborArray actual = CborArray.FromCollection(list); Assert.Equal(new CborArray(1, 2, 3), actual); }