crash.software
Projects
Pull Requests
Issues
Builds
termdash
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
termdash
Files
🤬
Sign In
8e77d26f
ROOT
/
widgets
/
linechart
/
internal
/
axes
/
scale_test.go
Search
History
1209 lines
|
ISO-8859-1
|
28 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
mustNewYScale
(min, max float64, graphHeight, nonZeroDecimals int, mode YScaleMode, valueFormatter func(float64) string)
:
*YScale
mustNewXScale
(min, max int, graphWidth, nonZeroDecimals int)
:
*XScale
pixelToValueTest
pixel
:
int
want
:
float64
wantErr
:
bool
valueToPixelTest
value
:
float64
want
:
int
wantErr
:
bool
valueToCellTest
value
:
int
want
:
int
wantErr
:
bool
cellLabelTest
cell
:
int
want
:
*Value
wantErr
:
bool
TestYScale
(t *testing.T)
TestXScale
(t *testing.T)
All occurrences
Please wait...
Page is in error, reload to recover