House Cleaning
This commit is contained in:
@ -162,8 +162,8 @@ public partial class UnitTestCalculations
|
||||
width = 100;
|
||||
height = 100;
|
||||
Location location = new(bottom, confidence, left, right, top);
|
||||
_ = new Location(confidence, height, location, Shared.Models.Stateless.ILocation.Digits, Shared.Models.Stateless.ILocation.Factor, width, 1);
|
||||
_ = new Location(bottom, confidence, height, left, Shared.Models.Stateless.ILocation.Digits, Shared.Models.Stateless.ILocation.Factor, right, top, width, 1);
|
||||
_ = new Location(confidence, height, location, width, 1);
|
||||
_ = new Location(bottom, confidence, height, left, right, top, width, 1);
|
||||
NonThrowTryCatch();
|
||||
}
|
||||
|
||||
@ -188,7 +188,7 @@ public partial class UnitTestCalculations
|
||||
bottom = 50;
|
||||
width = 100;
|
||||
height = 100;
|
||||
location = new(bottom, confidence, height, left, Shared.Models.Stateless.ILocation.Digits, Shared.Models.Stateless.ILocation.Factor, right, top, width, 1);
|
||||
location = new(bottom, confidence, height, left, right, top, width, 1);
|
||||
areaPermyriad = IMapping.GetAreaPermyriad(faceAreaPermyriad, height, location, width);
|
||||
Assert.IsTrue(areaPermyriad == 2500);
|
||||
left = 0;
|
||||
@ -197,7 +197,7 @@ public partial class UnitTestCalculations
|
||||
bottom = 25;
|
||||
width = 100;
|
||||
height = 100;
|
||||
location = new(bottom, confidence, height, left, Shared.Models.Stateless.ILocation.Digits, Shared.Models.Stateless.ILocation.Factor, right, top, width, 1);
|
||||
location = new(bottom, confidence, height, left, right, top, width, 1);
|
||||
OutputResolution outputResolution = new(height, 0, width);
|
||||
areaPermyriad = IMapping.GetAreaPermyriad(faceAreaPermyriad, location, outputResolution);
|
||||
Assert.IsTrue(areaPermyriad == 625);
|
||||
|
Reference in New Issue
Block a user