public void DecodeListValid2() { List <object> expected = new List <object>(); expected.Add("abc"); expected.Add("123"); List <object> actual = BCoder.DecodeList("l3:abc3:123e"); CheckListsAreEqual(expected, actual); }
public void DecodeListValid1() { List <object> expected = new List <object>(); expected.Add(4); expected.Add(5); List <object> actual = BCoder.DecodeList("li4ei5ee"); CheckListsAreEqual(expected, actual); }