예제 #1
0
        public void IntAtomLongTest()
        {
            const long value = 50001;

            var atom = new IntAtom(value);

            atom.Should().NotBeNull();
            atom.Type.Should().Be(AtomType.Integer);
            atom.Value.Should().Be((int)value);
        }
예제 #2
0
        public void IntAtomIntegerTest()
        {
            const int value = 5;

            var atom = new IntAtom(value);

            atom.Should().NotBeNull();
            atom.Type.Should().Be(AtomType.Integer);
            atom.Value.Should().Be(value);
        }