matrix conf fixed
This commit is contained in:
@@ -29,5 +29,14 @@ func TestXLSX(t *testing.T) {
|
||||
is.Equal(got.Matrix.Topics[4].Points, 27)
|
||||
is.Equal(got.Matrix.Topics[4].MaxPoints, 33)
|
||||
is.Equal(got.Matrix.Topics[4].PercentageReached, 80)
|
||||
is.Equal(got.Matrix.Topics[5].Points, 2) // points B2
|
||||
is.Equal(got.Matrix.Topics[5].MaxPoints, 22) // maxPoints B2
|
||||
is.Equal(got.Matrix.Topics[5].PercentageReached, 10) // percent B2
|
||||
is.Equal(got.Matrix.Topics[6].Points, 10) // points B3
|
||||
is.Equal(got.Matrix.Topics[6].MaxPoints, 33) // maxPoints B3
|
||||
is.Equal(got.Matrix.Topics[6].PercentageReached, 30) // percent B3
|
||||
is.Equal(got.Matrix.Topics[7].Points, 2) // points B4
|
||||
is.Equal(got.Matrix.Topics[7].MaxPoints, 22) // maxPoints B4
|
||||
is.Equal(got.Matrix.Topics[7].PercentageReached, 10) // percent B4
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user