void OnTriggerEnter2D(Collider2D other) { Burp burp = other.GetComponentInParent <Burp>(); if (burp != null) { value += burp.strength; SendMessage("Disgusted"); } }
public void LongBurp_IntInputValue_ReturnTheWordBurpWithAmountOfRs(int num, string expected) { var actual = Burp.LongBurp(num); Assert.Equal(expected, actual); }