Module talk:Factorization/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

36 of 36 tests failed.

test_factor
Text Expected Actual
☒N {{#invoke:Factorization | factor | -20}} - 22· 5 Error: -20 out of range
☒N {{#invoke:Factorization | factor | -10}} - 2 · 5 Error: -10 out of range
☒N {{#invoke:Factorization | factor | -3}} -3 Error: -3 out of range
☒N {{#invoke:Factorization | factor | -1}} -1 Error: -1 out of range
☒N {{#invoke:Factorization | factor | 0}} 0 Error: 0 out of range
☒N {{#invoke:Factorization | factor | 1}} 1 Error: 1 out of range
☒N {{#invoke:Factorization | factor | 2}} 2 2
☒N {{#invoke:Factorization | factor | 5}} 5 5
☒N {{#invoke:Factorization | factor | 10}} 2 · 5 2 · 5
☒N {{#invoke:Factorization | factor | 25}} 52 52
☒N {{#invoke:Factorization | factor | 40}} 23· 5 23 · 5
☒N {{#invoke:Factorization | factor | 111}} 3 · 37 3 · 37
☒N {{#invoke:Factorization | factor | 1000000001}} 7· 11· 13· 19· 52579 Error: 1000000001 out of range
☒N {{#invoke:Factorization | factor | 4.5}} 2 · 2 22
☒N {{#invoke:Factorization | factor | -9.9}} -2 · 5 Error: -10 out of range
☒N {{#invoke:Factorization | factor | 20|product=*}} 22* 5 22 * 5
☒N {{#invoke:Factorization | factor | 20|big=y}} 22· 5 22 · 5
☒N {{#invoke:Factorization | factor | 20|serif=yes|bold=true}} 22· 5 22 · 5
test_factorSandbox
Text Expected Actual
☒N {{#invoke:Factorization/sandbox | factor | -20}} - 22· 5 Error: -20 out of range
☒N {{#invoke:Factorization/sandbox | factor | -10}} - 2 · 5 Error: -10 out of range
☒N {{#invoke:Factorization/sandbox | factor | -3}} -3 Error: -3 out of range
☒N {{#invoke:Factorization/sandbox | factor | -1}} -1 Error: -1 out of range
☒N {{#invoke:Factorization/sandbox | factor | 0}} 0 Error: 0 out of range
☒N {{#invoke:Factorization/sandbox | factor | 1}} 1 Error: 1 out of range
☒N {{#invoke:Factorization/sandbox | factor | 2}} 2 2
☒N {{#invoke:Factorization/sandbox | factor | 5}} 5 5
☒N {{#invoke:Factorization/sandbox | factor | 10}} 2 · 5 2 · 5
☒N {{#invoke:Factorization/sandbox | factor | 25}} 52 52
☒N {{#invoke:Factorization/sandbox | factor | 40}} 23· 5 23 · 5
☒N {{#invoke:Factorization/sandbox | factor | 111}} 3 · 37 3 · 37
☒N {{#invoke:Factorization/sandbox | factor | 1000000001}} 7· 11· 13· 19· 52579 Error: 1000000001 out of range
☒N {{#invoke:Factorization/sandbox | factor | 4.5}} 2 · 2 22
☒N {{#invoke:Factorization/sandbox | factor | -9.9}} -2 · 5 Error: -10 out of range
☒N {{#invoke:Factorization/sandbox | factor | 20|product=*}} 22* 5 22 * 5
☒N {{#invoke:Factorization/sandbox | factor | 20|big=y}} 22· 5 22 · 5
☒N {{#invoke:Factorization/sandbox | factor | 20|serif=yes|bold=true}} 22· 5 22 · 5