Exemple #1
0
        public void AtomExtensionToAtomNullStringTest()
        {
            Action act = () => AtomExtensions.ToAtom <IntAtom>(string.Empty);

            act.Should().Throw <ArgumentNullException>();
        }
Exemple #2
0
 public void ToAtomList_ThrowsException_WhenNullIsPassed()
 {
     Assert.Throws <ArgumentNullException>(() => AtomExtensions.ToAtom(null));
 }