IReport is added

This commit is contained in:
ear
2022-09-13 16:06:41 +05:00
parent d9e3f9ba54
commit 7a4fd63fc2
24 changed files with 395 additions and 72 deletions

View File

@@ -22,11 +22,11 @@ namespace StructureHelperTests.FieldsVisualizerTests.ColorOperationTests
[TestCase(0, 100, -10, 255, 128, 128, 128)] //Gray as less than minimum
[TestCase(0, 100, 0, 255, 255, 128, 128)]
[TestCase(0, 100, 50, 255, 255, 255, 0)]
[TestCase(0, 100, 100, 255, 0, 0, 255)]//Blue
[TestCase(0, 100, 50, 255, 255, 254, 0)] //!!!!!!254 cause broading range in method!
[TestCase(0, 100, 100, 255, 0, 0, 254)]//Blue
[TestCase(0, 100, 110, 255,128, 128, 128)] //Gray as greater than maximum
[TestCase(-100, 100, 110, 255, 128, 128, 128)] //Gray as greater than maximum
[TestCase(-100, 100, 100, 255, 0, 0, 255)]//Blue
[TestCase(-100, 100, 100, 255, 0, 0, 254)]//Blue
[TestCase(100, 100, -100, 255, 255, 128, 128)]
public void Run_ShouldPass(double bottomVal, double topVal, double val, int expectedA, int expectedR, int expectedG, int expectedB)
{