// checkColVal checks that the column (c) matches its expected values (e)
checkColVal checks that the column (c) matches its expected values (e)
// checkColVal checks that the column ( c ) matches its expected values ( e )
func checkColVal(t *testing.T, testID, colID string, c, e dataframe.ColInfo) {
	t.Helper()
	if c.Name() != e.Name() {
		t.Log(testID)
		t.Logf("\t: expected name for %s: %q\n",
			colID, e.Name())
		t.Logf("\t:   actual name for %s: %q\n",
			colID, c.Name())
		t.Errorf("\t: unexpected column name\n")
	}
	if c.ColType() != e.ColType() {
		t.Log(testID)
		t.Logf("\t: expected type for %s: %q\n",
			colID, e.ColType())
		t.Logf("\t:   actual type for %s: %q\n",
			colID, c.ColType())
		t.Errorf("\t: unexpected column type\n")
	}
}
func checkColVal ( t * testing . T , testID , colID string , c , e dataframe . ColInfo ) { t . Helper ( ) if c . Name ( ) != e . Name ( ) { t . Log ( testID ) t . Logf ( " \t \n " , colID , e . Name ( ) ) t . Logf ( " \t \n " , colID , c . Name ( ) ) t . Errorf ( " \t \n " ) } if c . ColType ( ) != e . ColType ( ) { t . Log ( testID ) t . Logf ( " \t \n " , colID , e . ColType ( ) ) t . Logf ( " \t \n " , colID , c . ColType ( ) ) t . Errorf ( " \t \n " ) } }
checkColVal checks that the column (c) matches its expected values (e)
checkColVal checks that the column ( c ) matches its expected values ( e )