(t *testing.T)
| 126 | } |
| 127 | |
| 128 | func TestModelToTest(t *testing.T) { |
| 129 | testModelToText(t, "r.sub == p.sub && r.obj == p.obj && r_func(r.act, p.act) && testr_func(r.act, p.act)", "r_sub == p_sub && r_obj == p_obj && r_func(r_act, p_act) && testr_func(r_act, p_act)") |
| 130 | testModelToText(t, "r.sub == p.sub && r.obj == p.obj && p_func(r.act, p.act) && testp_func(r.act, p.act)", "r_sub == p_sub && r_obj == p_obj && p_func(r_act, p_act) && testp_func(r_act, p_act)") |
| 131 | } |
| 132 | |
| 133 | func testModelToText(t *testing.T, mData, mExpected string) { |
| 134 | m := NewModel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…