コード例 #1
0
        public async Task FindWordExistingInGoogleDictionaryTest()
        {
            var wordResult = await Ds.Create(Dst.GoogleDictionary).FindAsync("walk");

            Assert.True(wordResult.IsFound);
            Assert.Equal("walk", wordResult.Word);
        }
コード例 #2
0
        public async Task FindWordNonExistingInGoogleDictionaryTest()
        {
            var wordResult = await Ds.Create(Dst.GoogleDictionary).FindAsync("walk2");

            Assert.False(wordResult.IsFound);
        }