public void Base64VlqEncoder_SmallValue_ListWithOnlyOneValue() { // Act var result = new StringBuilder(); Base64VlqEncoder.Encode(result, 15); // Assert Assert.Equal("e", result.ToString()); }
public void Base64VlqEncoder_NegativeValue_ListWithCorrectValue() { // Act var result = new StringBuilder(); Base64VlqEncoder.Encode(result, -15); // Assert Assert.Equal("f", result.ToString()); }
public void Base64VlqEncoder_LargeValue_ListWithOnlyMultipleValues() { // Act var result = new StringBuilder(); Base64VlqEncoder.Encode(result, 701); // Assert Assert.Equal("6rB", result.ToString()); }
public void Base64VlqEncoder_SmallValue_ListWithOnlyOneValue() { // Act List <char> result = new List <char>(); Base64VlqEncoder.Encode(result, 15); // Assert Assert.AreEqual("e", new string(result.ToArray())); }
public void Base64VlqEncoder_NegativeValue_ListWithCorrectValue() { // Act List <char> result = new List <char>(); Base64VlqEncoder.Encode(result, -15); // Assert Assert.AreEqual("f", new string(result.ToArray())); }
public void Base64VlqEncoder_LargeValue_ListWithOnlyMultipleValues() { // Act List <char> result = new List <char>(); Base64VlqEncoder.Encode(result, 701); // Assert Assert.AreEqual("6rB", new string(result.ToArray())); }