示例#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 ) );
 }
示例#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));
        }
示例#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());
        }