Adding test that nylon has garolite temps set

This commit is contained in:
LarsBrubaker 2022-04-08 14:16:06 -07:00
parent 3c0a4da20d
commit fc06cf7caa
2 changed files with 8 additions and 1 deletions

@ -1 +1 @@
Subproject commit 93bcdc151fc9a3916c321d0453a6b0ef33248a30
Subproject commit 5f8b9d518d71c559bca4711611bf92de46a3ffb0

View file

@ -249,6 +249,13 @@ M300 S3000 P30 ; Resume Tone";
Assert.IsTrue(material.ContainsKey(key), $"Material {files[i].FullName} should include {key} setting");
}
if (profile.GetValue(SettingsKey.layer_name).ToLower().Contains("nylon"))
{
// make sure the setting for garolite is greater than 0 and not NC
double.TryParse(profile.GetValue(SettingsKey.bed_temperature_garolite), out double temp);
Assert.Greater(temp, 0);
}
foreach (var key in notPresentKeys)
{
Assert.IsTrue(!material.ContainsKey(key), $"Material {files[i].FullName} should not include {key} setting");