コード例 #1
0
        public void AddRemoveFindTest()
        {
            var result = _list.Find("Bleach").Result;

            Assert.True(result.Count > 0);
            _list.Add(result[0]);
            Assert.True(_list.Contains(result[0]));
            Assert.True(_list.Sync().Result);
            var pull = _mal.PullAnimeList().Result;

            Assert.True(pull.Contains(result[0]));
            _list.Remove(result[0]);
            Assert.False(_list.Contains(result[0]));
            Assert.True(_list.Sync().Result);
            pull = _mal.PullAnimeList().Result;
            Assert.False(pull.Contains(result[0]));
        }