Пример #1
0
        public void OrderBy1()
        {
            NewTest();
            Tset theAssets     = TheThings().Filter(_ => Owns(M, _));
            Tset orderedAssets = theAssets.OrderBy(x => AssetValue((Thing)x) * -1);

            Assert.AreEqual("{Dawn: B, A; 1/1/2005: C, B, A; 1/1/2008: C, A}", orderedAssets.Out);
        }