mirror of
https://github.com/edgegamers/Gangs.git
synced 2025-12-05 20:40:30 -08:00
* Normalize paths * Update workflows * Update workflows * Update workflows * Update csproj build dirs * Update csproj build dirs * Fix bugs * Directories are hard * Dont zip zip * Rename to support CS# * Fix nightly file name * Debug * Try referencing class directly * Update dependabot * Update gitignore and command tests * More tests: * Basic gang creation working
13 lines
338 B
C#
13 lines
338 B
C#
using GangsAPI.Services.Commands;
|
|
|
|
namespace GangsTest.Commands;
|
|
|
|
public class FieldTests {
|
|
[Theory]
|
|
[ClassData(typeof(CommandTestData))]
|
|
public void Command_Fields(ICommand cmd) {
|
|
Assert.NotEmpty(cmd.Name);
|
|
Assert.False(cmd.Usage.StartsWith(cmd.Name),
|
|
"Command usage should not start with the command name");
|
|
}
|
|
} |