Skip to content

Commit

Permalink
More tests for findStep and findStepEnd on EGrids.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich2 committed Feb 26, 2023
1 parent f6f85ab commit d227f71
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions EGrid/TestSrc/eg320/EGridTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ object EGridTest extends TestSuite
}

test("findStepEnd")
{ sys.gridMans(0).findStepEnd(138, 526, HexRt) ==> Some(HCen(138, 1526))
sys.grids(1).findStepEnd(142, 1534, HexRt) ==> Some(HCen(142, 1538))
sys.findStepEnd(142, 1534, HexRt) ==> Some(HCen(142, 1538))
{ sys.findStepEnd(138, 526, HexRt) ==> Some(HCen(138, 1526))
sys.findStepEnd(142, 1526, HexLt) ==> Some(HCen(142, 522))
sys.findStepEnd(140, 524, HexUR) ==> Some(HCen(142, 1526))
sys.findStepEnd(142, 1534, HexRt) ==> Some(HCen(142, 1538))
sys.findStepEnd(144, 1528, HexUL) ==> Some(HCen(146, 522))
sys.findStepEnd(134, 526, HexDR) ==> Some(HCen(132, 1524))
sys.findStepEnd(136, 1524, HexDL) ==> Some(HCen(134, 526))

sys.findStepEnd(140, 524, HexUR) ==> Some(HCen(142, 1526))
sys.findStepEnd(142, 1526, HexRt)==> Some(HCen(142, 1530))
}
Expand Down

0 comments on commit d227f71

Please sign in to comment.