Tests/NUnit/H3Suite/TestH3ToLocalIjExhaustive.cs
/// <summary>
/// Test that the local coordinates for an index map to itself.
/// </summary>
Test that the local coordinates for an index map to itself.
Test that the local coordinates for an index map to itself .
private void LocalIjToH3IdentityAssertions(H3Index h3)
        {
            int status;
            CoordIj ij;
            (status, ij) = h3.ToLocalIjExperimental(h3);
            Assert.AreEqual(0, status);
            H3Index retrieved;
            (status, retrieved) = ij.ToH3Experimental(h3);
            Assert.AreEqual(0, status);
            Assert.AreEqual(h3, retrieved);
        }
private void LocalIjToH3IdentityAssertions ( H3Index h3 ) { int status ; CoordIj ij ; ( status , ij ) = h3 . ToLocalIjExperimental ( h3 ) ; Assert . AreEqual ( 0 , status ) ; H3Index retrieved ; ( status , retrieved ) = ij . ToH3Experimental ( h3 ) ; Assert . AreEqual ( 0 , status ) ; Assert . AreEqual ( h3 , retrieved ) ; }
Test that the local coordinates for an index map to itself.
Test that the local coordinates for an index map to itself .
h3
H3Index