Add PLA density to Lepton 2, remove stringent OemProfile tests
This commit is contained in:
parent
9f2615c5e4
commit
27f6db7823
2 changed files with 4 additions and 13 deletions
|
|
@ -244,34 +244,24 @@ namespace MatterControl.Tests.MatterControl
|
|||
}
|
||||
|
||||
[Test]
|
||||
public void BottomSolidLayersEqualsOneMM()
|
||||
public void BottomSolidLayersNotZero()
|
||||
{
|
||||
ValidateOnAllPrinters((printer, settings) =>
|
||||
{
|
||||
string bottomSolidLayers = settings.GetValue("bottom_solid_layers");
|
||||
if (!string.IsNullOrEmpty(bottomSolidLayers))
|
||||
{
|
||||
if (bottomSolidLayers != "1mm")
|
||||
if (bottomSolidLayers == "0")
|
||||
{
|
||||
printer.RuleViolated = true;
|
||||
return;
|
||||
}
|
||||
|
||||
Assert.AreEqual("1mm", bottomSolidLayers, "[bottom_solid_layers] must be 1mm: " + printer.RelativeFilePath);
|
||||
//Assert.AreEqual("1mm", bottomSolidLayers, "[bottom_solid_layers] must be 1mm: " + printer.RelativeFilePath);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void NoFirstLayerTempInStartGcode()
|
||||
{
|
||||
ValidateOnAllPrinters((printer, settings) =>
|
||||
{
|
||||
string startGcode = settings.GetValue("start_gcode");
|
||||
Assert.False(startGcode.Contains("first_layer_temperature"), "[start_gcode] should not contain [first_layer_temperature]" + printer.RelativeFilePath);
|
||||
});
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void NoFirstLayerBedTempInStartGcode()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue