code: def test_names():
      # Check that the design column names are what we expect
      X = twoway.design(D, return_float=False)
      assert set(X.dtype.names) == {
          "Duration_1*Weight_1",
          "Duration_1*Weight_2",
          "Duration_1*Weight_3",
          "Duration_2*Weight_1",
          "Duration_2*Weight_2",
          "Duration_2*Weight_3",
      }
  
file_path: nipy/nipy/algorithms/statistics/models/tests/test_anova.py
imports: from io import StringIO
  import numpy
  import scipy.stats
  from nipy.testing import assert_almost_equal
  from ....utils.matrices import matrix_rank
  from ...formula.formulae import Factor, make_recarray
  from ..regression import OLSModel
label_desc: Use image node_id 1 for calling a global function with example usage: test_names() without return types