Пример #1
0
        public void AnyTwoMeasures_SameWord_NotOverlap()
        {
            var hrs = o
                      .MinAny(2)
                      .SetAny(
                new MeasureOp(MeasureOperator.Less, 0.05, uom[1])
            {
                Word = w[3]
            },
                new MeasureOp(MeasureOperator.GreaterOrEqual, 0.06, uom[1])
            {
                Word = w[3]
            })
                      .Search(session);

            Assert.AreEqual(0, hrs.Count());
        }