forked from jappel/leistungsbilanz-ts
Standardize phase type labels
This commit is contained in:
parent
084103bf54
commit
096ba8aa1c
23 changed files with 6117 additions and 52 deletions
|
|
@ -82,6 +82,8 @@ describe("circuit grid model", () => {
|
|||
assert.equal(formatValue(0.87654, "simultaneityFactor"), "0,88");
|
||||
assert.equal(formatValue(230.4, "voltage"), "230");
|
||||
assert.equal(formatValue(16, "protectionRatedCurrent"), "16");
|
||||
assert.equal(formatValue("single_phase", "phaseType"), "1-phasig");
|
||||
assert.equal(formatValue("three_phase", "phaseType"), "3-phasig");
|
||||
});
|
||||
|
||||
it("uses circuit display values for block sorting and falls back to the first device", () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue