tomas/src/Tomas.Tests/ShellTests.cs
Tony Bark c10e753c39 Unit tests
- Renamed GlobalUsings.cs to Usings.cs
- Refractored SysFS
- Seperated building of the terminal and unit tests
- To save on resources, the unit tests job on runs on Ubuntu
2023-01-07 14:31:09 -05:00

26 lines
No EOL
723 B
C#

/*
In jurisdictions that recognize copyright waivers, I've waived all copyright
and related or neighboring rights for to this project. In areas where these
waivers are not recognized, BSD-3-Clause is enforced.
See the (UN)LICENSE file in the project root for more information.
*/
using Tomas.Tests.Shell;
namespace Tomas.Tests;
public class ShellTests
{
// Create a new instance of the mock shell
readonly MockShell _mockShell = new();
[Fact]
public void ProgramTest()
{
// Create a mock program
var program = new MockProgram();
// Assert that the Run method of the program and returns true when passed the shell object.
Assert.True(program.Run(_mockShell));
}
}