Skip to content

Commit

Permalink
Improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jonolehagemo committed Nov 15, 2023
1 parent 5c8d8ea commit 3df7160
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,17 @@ class Rule210InterneOverforingerKjopOgSalgTest : BehaviorSpec({
), false
),
row(
"riktig regnskap, men feil funksjon",
"riktig regnskap, men feil funksjon, under",
listOf(
kostraRecordInTest("0F", "99", "100", 0),
kostraRecordInTest("0F", "99", "780", -1000)
kostraRecordInTest("0F", "40", "100", 0),
kostraRecordInTest("0F", "40", "780", -1000)
), false
),
row(
"riktig regnskap, men feil funksjon, over",
listOf(
kostraRecordInTest("0F", "46", "100", 0),
kostraRecordInTest("0F", "46", "780", -1000)
), false
),
row(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,17 @@ class Rule215InterneOverforingerKalkulatoriskeUtgifterOgInntekterTest : Behavior
), false
),
row(
"riktig regnskap, men feil funksjon",
"riktig regnskap, men feil funksjon, under",
listOf(
kostraRecordInTest("0F", "99", "100", 0),
kostraRecordInTest("0F", "99", "780", -1000)
kostraRecordInTest("0F", "40", "100", 0),
kostraRecordInTest("0F", "40", "780", -1000)
), false
),
row(
"riktig regnskap, men feil funksjon, over",
listOf(
kostraRecordInTest("0F", "46", "100", 0),
kostraRecordInTest("0F", "46", "780", -1000)
), false
),
row(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,17 @@ class Rule220InterneOverforingerMidlerTest : BehaviorSpec({
), false
),
row(
"riktig regnskap, men feil funksjon",
"riktig regnskap, men feil funksjon, under",
listOf(
kostraRecordInTest("0F", "99", "100", 0),
kostraRecordInTest("0F", "99", "780", -1000)
kostraRecordInTest("0F", "40", "100", 0),
kostraRecordInTest("0F", "40", "780", -1000)
), false
),
row(
"riktig regnskap, men feil funksjon, over",
listOf(
kostraRecordInTest("0F", "46", "100", 0),
kostraRecordInTest("0F", "46", "780", -1000)
), false
),
row(
Expand Down

0 comments on commit 3df7160

Please sign in to comment.