Ejemplo n.º 1
0
        public static void StartReturnsValueSpecifiedInConstructor()
        {
            var target = new TestableSyntaxToken(42);

            Assert.Equal(42, target.Start);
        }
Ejemplo n.º 2
0
 public static void StartReturnsValueSpecifiedInConstructor()
 {
     var target = new TestableSyntaxToken(42);
     Assert.Equal(42, target.Start);
 }
Ejemplo n.º 3
0
        public static void ConstructorSetsPositionProperty()
        {
            var target = new TestableSyntaxToken(0, new Position(4, 2));

            Assert.Equal(new Position(4, 2), target.Position);
        }
Ejemplo n.º 4
0
 public static void ConstructorSetsPositionProperty()
 {
     var target = new TestableSyntaxToken(0, new Position(4, 2));
     Assert.Equal(new Position(4, 2), target.Position);
 }