| 1 |
package dstream |
| 2 |
|
| 3 |
import ( |
| 4 |
"testing" |
| 5 |
) |
| 6 |
|
| 7 |
func TestSelect1(t *testing.T) { |
| 8 |
|
| 9 |
da, _ := dataf1() |
| 10 |
db, _ := dataf1() |
| 11 |
|
| 12 |
da = SelectCols(da, "x2", "x3") |
| 13 |
db = DropCols(db, "x1", "x4") |
| 14 |
|
| 15 |
if !EqualReport(da, db, true) { |
| 16 |
t.Fail() |
| 17 |
} |
| 18 |
} |