Landry Norris
03/02/2022, 8:49 PMinterface SingleOutput: LogicGate {
val output: Pin
get() = outputs.first()
}
interface SingleInput: LogicGate {
var input
get() = inputs.first()
set(value) { inputs[0] = value }
}
I generally implement Input first, then Output, but when I do that, kover shows that the line that says interface SingleOutput: LogicGate
is not run. I had to switch the order of imports for one of my classes in order for the line to show as Green in kover's report. Is this expected, or a bug in kover?class AndGate: TwoInput, SingleOutput
. I changed one to class Buffer: SingleOutput, SingleInput
, and kover showed the line as green. Changing it back to class Buffer: SingleInput, SingleOutput
causes the SingleOutput declaration to be marked red in kover.pajatopmr
03/13/2023, 1:55 PMCLOVIS
03/13/2023, 4:12 PMVsevolod Tolstopyatov [JB]
03/13/2023, 5:26 PMOutput, but when I do that, kover shows that the line that saysThat’s likely to be a bug in an underlying coverage engine. Would be nice you you could report it with a reproducer to Kover GHis not runinterface SingleOutput: LogicGate
Landry Norris
03/13/2023, 5:28 PMVsevolod Tolstopyatov [JB]
03/13/2023, 5:30 PMLandry Norris
03/13/2023, 5:31 PM