Example #1
0
        public void GetAlgorithms_Returns_Valid_Result()
        {
            Dictionary <string, AlgorithmType> algorithms = null;

            Assert.That(() => algorithms = _auphonic.GetAlgorithms(), Throws.Nothing);
            Assert.That(algorithms, Is.Not.Null);
        }
        public void Invoke_GetAlgorithms_Returns_Result()
        {
            HasClientCredentials();

            Dictionary <string, Algorithm> result = null;

            Assert.That(() => result = _auphonic.GetAlgorithms(), Throws.Nothing);
            Assert.That(result, Is.Not.Null);
            Assert.That(result.Count, Is.GreaterThan(0));
        }