24 lines
850 B
C#
24 lines
850 B
C#
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);
|
|
}
|
|
}
|
|
} |