package me.palazzomichi.telegram.telejam.objects;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertEquals;

public class InlineKeyboardMarkupTest {
  
  @Test
  public void ofColumns() {
    InlineKeyboardButton button1 = new CallbackDataInlineKeyboardButton("hello", "sayhello");
    InlineKeyboardButton button2 = new SwitchInlineQueryCurrentChatInlineKeyboardButton("test", "");
    InlineKeyboardMarkup keyboard1 = InlineKeyboardMarkup.ofColumns(
        3, button1, button1, button2, button1, button2
    );
    InlineKeyboardMarkup keyboard2 = new InlineKeyboardMarkup(
        new InlineKeyboardButton[][] {
            {button1, button1, button2},
            {button1, button2}
        }
    );
    assertEquals(keyboard1, keyboard2);
  }
  
}

@@ -207,18 +207,20 @@
 ic void 
-o
 f
+rom
 Columns(
@@ -480,10 +480,12 @@
 kup.
-o
 f
+rom
 Colu

Rename test