Summary

Harness status: OK

Found 25 tests

Details

ResultTest NameMessage
PasstiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=0
Asserts run
Pass
assert_equals(0, 0, "azimuth angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(1.5707963267948966, 1.5707963267948966, "altitude angle should be 1.5707963267948966")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=90
Asserts run
Pass
assert_equals(1.5707963267948966, 1.5707963267948966, "azimuth angle should be 1.5707963267948966")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0, 0, "altitude angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=-90
Asserts run
Pass
assert_equals(4.71238898038469, 4.71238898038469, "azimuth angle should be 4.71238898038469")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0, 0, "altitude angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=90 and tiltY=0
Asserts run
Pass
assert_equals(0, 0, "azimuth angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0, 0, "altitude angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=90 and tiltY=90
Asserts run
Pass
assert_equals(0, 0, "azimuth angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0, 0, "altitude angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=90 and tiltY=-90
Asserts run
Pass
assert_equals(0, 0, "azimuth angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0, 0, "altitude angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=-90 and tiltY=0
Asserts run
Pass
assert_equals(3.141592653589793, 3.141592653589793, "azimuth angle should be 3.141592653589793")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0, 0, "altitude angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=-90 and tiltY=90
Asserts run
Pass
assert_equals(0, 0, "azimuth angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0, 0, "altitude angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=-90 and tiltY=-90
Asserts run
Pass
assert_equals(0, 0, "azimuth angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0, 0, "altitude angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=45
Asserts run
Pass
assert_equals(1.5707963267948966, 1.5707963267948966, "azimuth angle should be 1.5707963267948966")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "altitude angle should be 0.7853981633974483")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=-45
Asserts run
Pass
assert_equals(4.71238898038469, 4.71238898038469, "azimuth angle should be 4.71238898038469")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "altitude angle should be 0.7853981633974483")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=45 and tiltY=0
Asserts run
Pass
assert_equals(0, 0, "azimuth angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "altitude angle should be 0.7853981633974483")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX,tiltY to azimuth/altitude when tiltX=-45 and tiltY=0
Asserts run
Pass
assert_equals(3.141592653589793, 3.141592653589793, "azimuth angle should be 3.141592653589793")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:27:17)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "altitude angle should be 0.7853981633974483")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:28:17)
PasstiltX/tiltY to azimuth/altitude when tiltX/tiltY are not populated
Asserts run
Pass
assert_equals(0, 0, "azimuth angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:34:15)
Pass
assert_equals(1.5707963267948966, 1.5707963267948966, "altitude angle should be 1.5707963267948966")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:35:15)
Passazimuth/altitude to tiltX/tiltY when azimuth=0 and altitude=0
Asserts run
Pass
assert_equals(90, 90, "tiltX angle should be 90")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:50:17)
Pass
assert_equals(0, 0, "tiltY angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:51:17)
Passazimuth/altitude to tiltX/tiltY when azimuth=0 and altitude=0.7853981633974483
Asserts run
Pass
assert_equals(45, 45, "tiltX angle should be 45")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:50:17)
Pass
assert_equals(0, 0, "tiltY angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:51:17)
Passazimuth/altitude to tiltX/tiltY when azimuth=0 and altitude=1.5707963267948966
Asserts run
Pass
assert_equals(0, 0, "tiltX angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:50:17)
Pass
assert_equals(0, 0, "tiltY angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:51:17)
Passazimuth/altitude to tiltX/tiltY when azimuth=1.5707963267948966 and altitude=0
Asserts run
Pass
assert_equals(0, 0, "tiltX angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:50:17)
Pass
assert_equals(90, 90, "tiltY angle should be 90")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:51:17)
Passazimuth/altitude to tiltX/tiltY when azimuth=1.5707963267948966 and altitude=0.7853981633974483
Asserts run
Pass
assert_equals(0, 0, "tiltX angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:50:17)
Pass
assert_equals(45, 45, "tiltY angle should be 45")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:51:17)
Passazimuth/altitude to tiltX/tiltY when azimuth=3.141592653589793 and altitude=0
Asserts run
Pass
assert_equals(-90, -90, "tiltX angle should be -90")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:50:17)
Pass
assert_equals(0, 0, "tiltY angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:51:17)
Passazimuth/altitude to tiltX/tiltY when azimuth=3.141592653589793 and altitude=0.7853981633974483
Asserts run
Pass
assert_equals(-45, -45, "tiltX angle should be -45")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:50:17)
Pass
assert_equals(0, 0, "tiltY angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:51:17)
Passazimuth/altitude to tiltX/tiltY when azimuth=4.71238898038469 and altitude=0
Asserts run
Pass
assert_equals(0, 0, "tiltX angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:50:17)
Pass
assert_equals(-90, -90, "tiltY angle should be -90")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:51:17)
Passazimuth/altitude to tiltX/tiltY when azimuth=4.71238898038469 and altitude=0.7853981633974483
Asserts run
Pass
assert_equals(0, 0, "tiltX angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:50:17)
Pass
assert_equals(-45, -45, "tiltY angle should be -45")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:51:17)
PassIf only one of the values (tiltX, tiltY) or (azimuthAngle, altitudeAngle) is available the other one is set to the default value
Asserts run
Pass
assert_equals(45, 45, "tiltX value should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:57:15)
Pass
assert_equals(0, 0, "tiltY value should be initialized with default value 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:58:15)
Pass
assert_equals(0, 0, "for (tiltX, tiltY) = (45, 0) azimuthAngle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:59:15)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "for (tiltX, tiltY) = (45, 0) altitudeAngle should be PI/4")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:60:15)
Pass
assert_equals(0, 0, "tiltX value should be initialized with default value 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:63:15)
Pass
assert_equals(45, 45, "tiltY value should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:64:15)
Pass
assert_equals(1.5707963267948966, 1.5707963267948966, "for (tiltX, tiltY) = (0, 45) azimuthAngle should be PI/2")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:65:15)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "for (tiltX, tiltY) = (0, 45) altitudeAngle should be PI/4")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:66:15)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "azimuthAngle value should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:69:15)
Pass
assert_equals(1.5707963267948966, 1.5707963267948966, "altitudeAngle should be initialized with default value of PI/2")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:70:15)
Pass
assert_equals(0, 0, "for (azimuthAngle, altitudeAngle)=(0.7853981633974483,1.5707963267948966) tiltX angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:71:15)
Pass
assert_equals(0, 0, "for (azimuthAngle, altitudeAngle)=(0.7853981633974483,1.5707963267948966) tiltY angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:72:15)
Pass
assert_equals(0, 0, "azimuthAngle value should be initialized with default value of 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:75:15)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "altitudeAngle should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:76:15)
Pass
assert_equals(45, 45, "for (azimuthAngle, altitudeAngle)=(0,0.7853981633974483) tiltX angle should be 45 degrees")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:77:15)
Pass
assert_equals(0, 0, "for (azimuthAngle, altitudeAngle)=(0,0.7853981633974483) tiltY angle should be 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:78:15)
PassIf one of the values in both sets is provided, the other value in the set is initialized with the default value
Asserts run
Pass
assert_equals(45, 45, "tiltX value should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:83:15)
Pass
assert_equals(0, 0, "tiltY value should be initialized with default value 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:84:15)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "azimuthAngle should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:85:15)
Pass
assert_equals(1.5707963267948966, 1.5707963267948966, "altitudeAngle value should be initialized with default value 1.5707963267948966")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:86:15)
Pass
assert_equals(0, 0, "tiltX value should be initialized with default value 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:89:15)
Pass
assert_equals(45, 45, "tiltY value should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:90:15)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "azimuthAngle value should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:91:15)
Pass
assert_equals(1.5707963267948966, 1.5707963267948966, "altitudeAngle value should be initialized with default value 1.5707963267948966")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:92:15)
Pass
assert_equals(45, 45, "tiltX value should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:95:15)
Pass
assert_equals(0, 0, "tiltY value should be initialized with default value 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:96:15)
Pass
assert_equals(0, 0, "azimuthAngle value should be initialized with default value of 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:97:15)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "altitudeAngle should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:98:15)
Pass
assert_equals(0, 0, "tiltX value should be initialized with default value 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:101:15)
Pass
assert_equals(45, 45, "tiltY value should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:102:15)
Pass
assert_equals(0, 0, "azimuthAngle value should be initialized with default value of 0")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:103:15)
Pass
assert_equals(0.7853981633974483, 0.7853981633974483, "altitudeAngle should stay as initialized")
    at Test.<anonymous> ( /pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html:104:15)