public void AddNotesToTrap() { DiceCup.SetRandom(new Random(700)); var architect = new TrapArchitect(); var trapBase = architect.GetTrapBaseFactory(); var trapEffect = architect.GetTrapEffectFactory(); var trapDamage = architect.GetTrapDamageFactory(); var trap = new Trap(trapBase, trapEffect, trapDamage); trap.AddNotes("This trap is a test of the note application system."); Approvals.Verify(trap); }
public void SpeceficTrapTest() { DiceCup.SetRandom(new Random(4)); var architect = new TrapArchitect(); var trapBase = architect.GetSpecificTrapBase(15); var trapEffect = architect.GetSpecificTrapEffect(33); var trapDamage = architect.GetSpecificTrapDamage(8); var trap = new Trap(trapBase, trapEffect, trapDamage); Approvals.Verify(trap); }