public void Exists_3_Unknown()
        {
            NewTest();
            Tset  theAssets         = TheThings().Filter(_ => Owns(M, _));
            Tbool areAnyCheapAssets = theAssets.Exists(x => AssetValueIndeterminacy(x));

            Assert.AreEqual("Unstated", areAnyCheapAssets.Out);
        }
        public void Exists_2_Unknown()
        {
            NewTest();
            Tset  theAssets         = new Tset(Hstate.Unstated);
            Tbool areAnyCheapAssets = theAssets.Exists(x => AssetValueLessThan4(x));

            Assert.AreEqual("Unstated", areAnyCheapAssets.Out);
        }
        public void Exists_1()
        {
            NewTest();
            Tset  theAssets         = TheThings().Filter(_ => Owns(M, _));
            Tbool areAnyCheapAssets = theAssets.Exists(x => AssetValueLessThan4(x));

            Assert.AreEqual(true, areAnyCheapAssets.Out);
        }
 private static Tbool SomeoneWorksAt(Thing c, Tset theSet)
 {
     return(theSet.Exists(_ => Econ.IsEmployedBy(_, c)));
 }
 private static Tbool SomeoneWorksAt(Thing c, Tset theSet)
 {
     return theSet.Exists( _ => Econ.IsEmployedBy(_,c));
 }
 public void Exists_2_Unknown()
 {
     NewTest();
     Tset theAssets = new Tset(Hstate.Unstated);
     Tbool areAnyCheapAssets = theAssets.Exists(x => AssetValueLessThan4(x));
     Assert.AreEqual("Unstated", areAnyCheapAssets.Out);
 }