| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using Content.IntegrationTests.Tests.Interaction;
- namespace Content.IntegrationTests.Tests.Construction.Interaction;
- public sealed class WindowConstruction : InteractionTest
- {
- private const string Window = "Window";
- private const string RWindow = "ReinforcedWindow";
- [Test]
- public async Task ConstructWindow()
- {
- await StartConstruction(Window);
- await InteractUsing(Glass, 5);
- ClientAssertPrototype(Window, Target);
- }
- [Test]
- public async Task DeconstructWindow()
- {
- await StartDeconstruction(Window);
- await Interact(Screw, Wrench);
- AssertDeleted();
- await AssertEntityLookup((Glass, 2));
- }
- [Test]
- public async Task ConstructReinforcedWindow()
- {
- await StartConstruction(RWindow);
- await InteractUsing(RGlass, 5);
- ClientAssertPrototype(RWindow, Target);
- }
- [Test]
- public async Task DeonstructReinforcedWindow()
- {
- await StartDeconstruction(RWindow);
- await Interact(
- Weld,
- Screw,
- Pry,
- Weld,
- Screw,
- Wrench);
- AssertDeleted();
- await AssertEntityLookup((RGlass, 2));
- }
- }
|