public void Ctor_EmptyCharacterList_ThrowsArgumentException()
        {
            var emptyList = new char[] { };

            Assert.That(() => this._specification = new InstructionSetSpecification(emptyList),
                        Throws.ArgumentException);
        }
Beispiel #2
0
        public void Init()
        {
            var validCharacters = new[] { 'F', 'L', 'R' };

            this._specification = new InstructionSetSpecification(validCharacters);
        }
 public void Ctor_NoParameters_ThrowsArgumentNullException()
 {
     Assert.That(() => this._specification = new InstructionSetSpecification(null), Throws.ArgumentNullException);
 }