Example #1
0
        public async Task GetRoomTest()
        {
            //Task.Run(() => LocalTestSiloClient.createSilo());
            //Thread.Sleep(3000);
            var client = await LocalTestSiloClient.createClient();

            var world = client.GetGrain <IWorld>(0);
            //var result = await world.GetRoom("");
            //Assert.AreEqual<string>(result.Id, "Game.MudLib.d.fy.fysquare");
        }
Example #2
0
        public async Task LoginTest()
        {
            //Task.Run(() => LocalTestSiloClient.createSilo());
            //Thread.Sleep(3000);
            var client = await LocalTestSiloClient.createClient();

            var world  = client.GetGrain <IWorld>(0);
            var result = await world.PlayerLogin("wing", "aks");

            Assert.AreEqual <bool>(result, true);
        }