benchtopparser/BenchtopParserTests/UnitTest1.cs

24 lines
850 B
C#
Raw Normal View History

2022-07-25 04:10:26 +00:00
namespace BenchtopParserTests {
public class Tests {
[SetUp]
public void Setup() {
}
[Test]
public void Test_ProgramConfig() {
String program_config = File.ReadAllText(
Path.Combine(TestContext.CurrentContext.TestDirectory, @"TestFiles\Program Config.txt")
);
var configs = BenchtopParser.Parser.I28_ProgramConfig(program_config);
Assert.IsNotNull(configs);
}
public void Test_ProgramConfig_Throw_ErrorOrder() {
String program_config = File.ReadAllText(
Path.Combine(TestContext.CurrentContext.TestDirectory, @"TestFiles\Program Config.txt")
);
var configs = BenchtopParser.Parser.I28_ProgramConfig(program_config);
Assert.IsNotNull(configs);
}
}
}