public void Generate_Floats() { var displayGenerator = new Bk2InputDisplayGenerator("NES", _axisController); var actual = displayGenerator.Generate(); Assert.AreEqual(" 0, 0,", actual); }
public void Generate_MidRangeDisplaysEmpty() { _axisController.AcceptNewAxis("StickX", MidValue); var displayGenerator = new Bk2InputDisplayGenerator("NES", _axisController); var actual = displayGenerator.Generate(); Assert.AreEqual(" 0,", actual); }
public void Generate_BoolUnPressed_GeneratesSpace() { _boolController["A"] = false; var displayGenerator = new Bk2InputDisplayGenerator("NES", _boolController); var actual = displayGenerator.Generate(); Assert.AreEqual(" ", actual); }
public void Generate_BoolPressed_GeneratesMnemonic() { _boolController["A"] = true; var displayGenerator = new Bk2InputDisplayGenerator("NES", _boolController); var actual = displayGenerator.Generate(); Assert.AreEqual("A", actual); }