Difference between revisions of "Template:Chem molar mass/testcases"
imported>DePiep (→Params) |
imported>DePiep (→Params) |
||
| Line 57: | Line 57: | ||
==Params== | ==Params== | ||
;no or zeros input | ;no or zeros input | ||
| − | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes}} | |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes| C=0 }} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|C= {{{C|}}}}} -- C=<nowiki>{{{C|}}}</nowiki> |
;by symbol | ;by symbol | ||
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes| C = 1 | H = 1|O=1}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Au= 10}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Hg =10}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|H=1}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|D=1}} |
;unit | ;unit | ||
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|C=1|H=1|O=1|unit=Kg/Kmol}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Au=10|unit=UUNNIITT}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Hg=10|unit=g/mol}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Au=10|xunit=UUNNIITT}} |
;fixed input | ;fixed input | ||
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|fixed=FIXVAL}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|C=1|fixed=FIXVAL}} |
;maint catname vs fixed & value | ;maint catname vs fixed & value | ||
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|fixed=FIXVAL|catname=MaintCat}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|C=1|fixed=FIXVAL|catname=MaintCat}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|C=1|catname=MaintCat}} |
===rounding=== | ===rounding=== | ||
;round yes/no/number/blank. for Be 9.0121831 | ;round yes/no/number/blank. for Be 9.0121831 | ||
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1}} --none |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=}} --blank |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=no}} --no |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=yes}} --yes |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=0}} --0 |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=1}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=2}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=3}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=4}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=5}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=6}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=7}} --7 |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=8}} --8 |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=9}} --9 |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Be=1|round=-1}} -- -1 |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Hg=1|H=1|Li=2|round=yes}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Hg=1|H=1|Li=2|round=no}} |
;ref and cmt | ;ref and cmt | ||
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|fixed=FIXVAL|Pb=10|ref=<ref>REF</ref>|comment=Cmt}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|fixed=FIXVAL|ref=<ref>REF</ref>|comment=Cmt}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Pb=10|ref=<ref>REF</ref>}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Pb=10|ref=<ref>REF</ref>|comment=Cmt}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|Pb=10|comment=Cmt}} |
;ref and cmt, no symbols | ;ref and cmt, no symbols | ||
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|ref=<ref>REF</ref>}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|ref=<ref>REF</ref>|comment=Cmt}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|comment=Cmt}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|fixed=999.99|comment=Cmt}} |
;catname | ;catname | ||
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|C=1|fixed=12 kg|catname=MaintCat}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|C=1|fixed=12 kg|catname=Category:MaintCat}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|C=1|fixed=12 kg|catname=category:MaintCat}} |
| − | {{testcase table | + | {{testcase table|_style = background:lemonchiffon; |_showcode=yes|C=1|fixed=12 kg|catname=}} |
==Rounding== | ==Rounding== | ||
Revision as of 08:47, 6 April 2019
- See also:
- {{Chem molar mass/testcases/elements1-60}} -- elements
- {{Chem molar mass/testcases/elements61-118}} -- elements
- {{Chem molar mass/testcases/charges}} -- charged molecules
|charge=
Contents
CO2
tests
Script error: No such module "Purge". Molecular mass
Checks
- H2S
- O3
- NaCl
Params
- no or zeros input
Template:Testcase table Template:Testcase table Template:Testcase table
Template:Testcase table -- C={{{C|}}}
- by symbol
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
- unit
Template:Testcase table Template:Testcase table Template:Testcase table
- fixed input
Template:Testcase table Template:Testcase table
- maint catname vs fixed & value
Template:Testcase table Template:Testcase table Template:Testcase table
rounding
- round yes/no/number/blank. for Be 9.0121831
Template:Testcase table --none Template:Testcase table --blank Template:Testcase table --no Template:Testcase table --yes Template:Testcase table --0 Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table --7 Template:Testcase table --8 Template:Testcase table --9
Template:Testcase table -- -1
Template:Testcase table Template:Testcase table
- ref and cmt
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
- ref and cmt, no symbols
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
- catname
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table
Rounding
- Template:Val g·mol−1
- Template:Val g·mol−1
Nth_User tests
- Now uses {{Chem molar mass/sandbox}}
Water: 0
Hydroxide: 0
Dioxygenyl: 0
Dioxygen: 0
Superoxide: 0
Peroxide: 0
Ozone: 0
Ozonide: 0
Fluorine: 0
Fluoride: 0
Arsenic: 0
Arsenide: 0
Dysprosium: 0
Yttrium: 0
Potassium: 0
Diphosphorus: 0
Deuterium: 0
Electron: 0
Test for when enthalpy of formation makes a difference
| Substance | Molar mass without enthaply of formation | Molar mass with enthaply of formation |
|---|---|---|
| Sodium fluoride | 0 | 0 |
| Fluoride | 0 | 0 |
| Cesium fluoride | 0 | 0 |
| Phosphorus pentafluoride | 0 | 0 |
| Phosphorus trifluoride | 0 | 0 |
| Red phosphorus | 0 | 0 |
| Black phosphorus | 0 | 0 |
Test interval mode
| Substance | Uncertainty mode (default) | Interval mode |
|---|---|---|
| Lithium | 0 | 0 |
| Argon | 0 | 0 |
| Sulfur | 0 | 0 |
| Lithium sulfide | 0 | 0 |
| Lithium borohydride | 0 | 0 |
| Thallium | 0 | 0 |