add y=mx+b partial resolution test