Difference between revisions of "Template:Decdeg/testcases"
Jump to navigation
Jump to search
imported>Droll (included output from sandbox) |
imported>Droll (testing for round error) |
||
| Line 5: | Line 5: | ||
| sec = 00 | | sec = 00 | ||
| hem = N | | hem = N | ||
| + | | rnd = | ||
}}, | }}, | ||
{{decdeg | {{decdeg | ||
| Line 11: | Line 12: | ||
| sec = 04 | | sec = 04 | ||
| hem = W | | hem = W | ||
| + | | rnd = | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 17: | Line 19: | ||
| {{coord|37|51|00|N|119|34|04|W|format=dec}} | | {{coord|37|51|00|N|119|34|04|W|format=dec}} | ||
|- | |- | ||
| − | | {{decdeg|deg=37|min=51|sec=00|hem=N}}, {{decdeg|deg=119|min=34|sec=04|hem=W}} || Working | + | | {{decdeg|deg=37|min=51|sec=00|hem=N|rnd=}}, {{decdeg|deg=119|min=34|sec=04|hem=W}} || Working |
|- | |- | ||
| − | | {{decdeg/sandbox|deg=37|min=51|sec=00|hem=N}}, {{decdeg/sandbox|deg=119|min=34|sec=04|hem=W}} || Sandbox | + | | {{decdeg/sandbox|deg=37|min=51|sec=00|hem=N|rnd=}}, {{decdeg/sandbox|deg=119|min=34|sec=04|hem=W}} || Sandbox |
|} | |} | ||
{{clr}} | {{clr}} | ||
| Line 27: | Line 29: | ||
| min = 51 | | min = 51 | ||
| hem = N | | hem = N | ||
| + | | rnd = | ||
}}, | }}, | ||
{{decdeg | {{decdeg | ||
| Line 32: | Line 35: | ||
| min = 34 | | min = 34 | ||
| hem = W | | hem = W | ||
| + | | rnd = | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 38: | Line 42: | ||
| {{coord|37|51|N|119|34|W|format=dec}} | | {{coord|37|51|N|119|34|W|format=dec}} | ||
|- | |- | ||
| − | | {{decdeg|deg=37|min=51|hem=N}}, {{decdeg|deg=119|min=34|hem=W}} || Working | + | | {{decdeg|deg=37|min=51|hem=N|rnd=}}, {{decdeg|deg=119|min=34|hem=W|rnd=}} || Working |
|- | |- | ||
| {{decdeg/sandbox|deg=37|min=51|hem=N}}, {{decdeg/sandbox|deg=119|min=34|hem=W}} || Sandbox | | {{decdeg/sandbox|deg=37|min=51|hem=N}}, {{decdeg/sandbox|deg=119|min=34|hem=W}} || Sandbox | ||
Revision as of 04:26, 22 January 2010
{{decdeg
| deg = 37
| min = 51
| sec = 00
| hem = N
| rnd =
}},
{{decdeg
| deg = 119
| min = 34
| sec = 04
| hem = W
| rnd =
}}
| Lua error: callParserFunction: function "#coordinates" was not found. | |
| 37.85, -119.5677778 | Working |
| Expression error: Unexpected < operator., Expression error: Unexpected < operator. | Sandbox |
{{decdeg
| deg = 37
| min = 51
| hem = N
| rnd =
}},
{{decdeg
| deg = 119
| min = 34
| hem = W
| rnd =
}}
| Lua error: callParserFunction: function "#coordinates" was not found. | |
| 37.85, -119.5666667 | Working |
| Expression error: Unexpected < operator., Expression error: Unexpected < operator. | Sandbox |
{{decdeg
| deg = 37
| hem = N
}},
{{decdeg
| deg = 119
| hem = W
}}
| Lua error: callParserFunction: function "#coordinates" was not found. | |
| 37, -119 | Working |
| Expression error: Unexpected < operator., Expression error: Unexpected < operator. | Sandbox |
{{decdeg
| deg = 37.849923
| hem = N
}},
{{decdeg
| deg = 119.567666
| hem = W
}}
| Lua error: callParserFunction: function "#coordinates" was not found. | |
| 37.849923, -119.567666 | Working |
| Expression error: Unexpected < operator., Expression error: Unexpected < operator. | Sandbox |
{{decdeg
| deg = 37.849923
}},
{{decdeg
| deg = -119.567666
}}
| Lua error: callParserFunction: function "#coordinates" was not found. | |
| 37.849923, -119.567666 | Working |
| Expression error: Unexpected < operator., Expression error: Unexpected < operator. | Sandbox |
{{decdeg}},
{{decdeg}}
| Lua error: callParserFunction: function "#coordinates" was not found. | |
| 0, 0 | Working |
| Expression error: Unexpected < operator., Expression error: Unexpected < operator. | Sandbox |
{{decdeg| deg = -0}},
{{decdeg| deg = -0}}
| Lua error: callParserFunction: function "#coordinates" was not found. | |
| -0, -0 | Working |
| Expression error: Unexpected < operator., Expression error: Unexpected < operator. | Sandbox |