public void ShouldThrowExceptionWhenInvalidHashFunction(int digestLength, int capacity)
        {
            var hashFunction = new HashFunction(digestLength, capacity);

            var subject = new CSHAKEFactory();

            Assert.Throws <ArgumentException>(() => subject.GetCSHAKE(hashFunction));
        }
        public void ShouldProduceValidAlgorithmWithValidHashFunction(int digestLength, int capacity)
        {
            var hashFunction = new HashFunction(digestLength, capacity);

            var subject = new CSHAKEFactory();
            var result  = subject.GetCSHAKE(hashFunction);

            Assert.IsInstanceOf <CSHAKEWrapper>(result);
        }