@@ -34,7 +34,7 @@ func TestCreateDataTable(t *testing.T) {
3434}
3535
3636func TestLineChartIndependent (t * testing.T ) {
37- fmt .Println ("Independent charts\n " )
37+ fmt .Print ("Independent charts\n \n " )
3838
3939 chart := NewLineChart (100 , 20 )
4040 chart .Flags = DRAW_INDEPENDENT //| DRAW_RELATIVE
@@ -51,7 +51,7 @@ func TestLineChartIndependent(t *testing.T) {
5151 dataReversed .AddColumn ("Lat" )
5252 dataReversed .AddColumn ("Count" )
5353
54- //data.AddColumn("x*x")
54+ // data.AddColumn("x*x")
5555
5656 for i := 0 ; i < 60 ; i ++ {
5757 x := float64 (i + 60 )
@@ -62,13 +62,13 @@ func TestLineChartIndependent(t *testing.T) {
6262 dataReversed .AddRow (x , y2 , y1 )
6363 }
6464
65- // The two charts should look the same, only with inversed axes and colors
65+ // The two charts should look the same, only with inverse axes and colors
6666 fmt .Println (chart .Draw (data ))
6767 fmt .Println (chartReversed .Draw (dataReversed ))
6868}
6969
7070func TestLineChartRelative (t * testing.T ) {
71- fmt .Println ("Relative chart\n " )
71+ fmt .Print ("Relative chart\n \n " )
7272
7373 chart := NewLineChart (100 , 20 )
7474 chart .Flags = DRAW_RELATIVE
@@ -78,7 +78,7 @@ func TestLineChartRelative(t *testing.T) {
7878 data .AddColumn ("Sin(x)" )
7979 data .AddColumn ("Cos(x+1)" )
8080
81- //data.AddColumn("x*x")
81+ // data.AddColumn("x*x")
8282
8383 for i := 0.1 ; i < 10 ; i += 0.1 {
8484 data .AddRow (i , math .Sin (i ), math .Cos (i + 1 ))
@@ -88,10 +88,10 @@ func TestLineChartRelative(t *testing.T) {
8888}
8989
9090func TestLineChart (t * testing.T ) {
91- fmt .Println ("Simple chart\n " )
91+ fmt .Print ("Simple chart\n \n " )
9292
9393 chart := NewLineChart (100 , 20 )
94- //chart.Flags = /*DRAW_INDEPENDENT // | */// DRAW_RELATIVE
94+ // chart.Flags = /*DRAW_INDEPENDENT // | */// DRAW_RELATIVE
9595
9696 data := new (DataTable )
9797 data .AddColumn ("x" )
0 commit comments