public void AddPosYTest() { PowerUpBuilder builder = new PowerUpBuilder(); builder.AddPosY(10); ArenaObject a = builder.CreateObject(); Assert.IsTrue(a.PosY == 10); }
public void GetReboundStrategyTest(ArenaObjectType type) { PowerUpBuilder builder = new PowerUpBuilder(); PowerUp a = builder.CreateObject() as PowerUp; a.SetTypeParams(type); var str = a.GetReboundStrategy(); Assert.IsTrue(a.Type == type); }