Ejemplo n.º 1
0
 public void DomainTest()
 {
     var v = new VariableWrapper( "x", "XX" );
       Assert.That( v.GetIndexDomain(), Is.EqualTo( -42 ) );
       v.Domain = new Domain( -5 );
       Assert.That( v.GetIndexDomain(), Is.EqualTo( -5 ) );
 }
Ejemplo n.º 2
0
        public void DomainTest()
        {
            var v = new VariableWrapper("x", "XX");

            Assert.That(v.GetIndexDomain(), Is.EqualTo(-42));
            v.Domain = new Domain(-5);
            Assert.That(v.GetIndexDomain(), Is.EqualTo(-5));
        }
Ejemplo n.º 3
0
        public void DomainTest()
        {
            var v = new VariableWrapper("x", "XX");

            Assert.AreEqual(-42, v.GetIndexDomain());
            v.Domain = new Domain(-5);
            Assert.AreEqual(-5, v.GetIndexDomain());
        }