~ruther/NosSmooth

6bb2e91c7f9d8c9851505305bf74c1e5389ebe61 — Rutherther 2 years ago 3bcf2a7
chore: add Game test files with comments saying what tests to implement
A Tests/NosSmooth.Game.Tests/Modules/CharacterTests.cs => Tests/NosSmooth.Game.Tests/Modules/CharacterTests.cs +17 -0
@@ 0,0 1,17 @@
//
//  CharacterTests.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Game.Tests.Modules;

/// <summary>
/// Test for Game.Character.
/// </summary>
public class CharacterTests
{
    // initialized correctly
    // data changed correctly
    // character death event
}
\ No newline at end of file

A Tests/NosSmooth.Game.Tests/Modules/FriendsTests.cs => Tests/NosSmooth.Game.Tests/Modules/FriendsTests.cs +16 -0
@@ 0,0 1,16 @@
//
//  FriendsTests.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Game.Tests.Modules;

/// <summary>
/// Test for Game.Friends.
/// </summary>
public class FriendsTests
{
    // friends initialized
    // friends updated
}
\ No newline at end of file

A Tests/NosSmooth.Game.Tests/Modules/GroupTests.cs => Tests/NosSmooth.Game.Tests/Modules/GroupTests.cs +17 -0
@@ 0,0 1,17 @@
//
//  GroupTests.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Game.Tests.Modules;

/// <summary>
/// Tests for Game.Group.
/// </summary>
public class GroupTests
{
    // group joined, left events
    // correct group members
    // hp, mp updated
}
\ No newline at end of file

A Tests/NosSmooth.Game.Tests/Modules/InventoryTests.cs => Tests/NosSmooth.Game.Tests/Modules/InventoryTests.cs +16 -0
@@ 0,0 1,16 @@
//
//  InventoryTests.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Game.Tests.Modules;

/// <summary>
/// Tests for Game.Inventory.
/// </summary>
public class InventoryTests
{
    // inventory init
    // inventory update
}
\ No newline at end of file

A Tests/NosSmooth.Game.Tests/Modules/MapTests.cs => Tests/NosSmooth.Game.Tests/Modules/MapTests.cs +22 -0
@@ 0,0 1,22 @@
//
//  MapTests.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Game.Tests.Modules;

/// <summary>
/// Tests for Game.CurrentMap.
/// </summary>
public class MapTests
{
    // character is on map
    // entities loaded
    // entities moving

    // death, revive player vs monster

    // pets death, revival
    // events death, move, join, leave
}
\ No newline at end of file

A Tests/NosSmooth.Game.Tests/Modules/SkillTests.cs => Tests/NosSmooth.Game.Tests/Modules/SkillTests.cs +17 -0
@@ 0,0 1,17 @@
//
//  SkillTests.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Game.Tests.Modules;

/// <summary>
/// Tests for Game.Skills.
/// </summary>
public class SkillTests
{
    // loaded
    // changed on morph
    // correct levels
}
\ No newline at end of file

Do not follow this link