public void FlatIntList() { //a flat list of ints [123,456,789] var flatListInt = DirStructure.OwnTestFileAsBytes("binary/flatlist_int.bindat"); var reader = new UserBinaryReader(new MemoryStream(flatListInt)); ReaderTestCommon.FlatIntList(reader); }
public void ListOfIntsTest() { //Must be: [123,456,789] var value = _ionValueFactory.NewEmptyList(); value.Add(_ionValueFactory.NewInt(123)); value.Add(_ionValueFactory.NewInt(456)); value.Add(_ionValueFactory.NewInt(789)); var reader = new UserTreeReader(value); ReaderTestCommon.FlatIntList(reader); }