We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mobile-dev-inc/Maestro'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
PointTest.kt•683 B
package maestro
import com.google.common.truth.Truth.assertThat
import com.google.gson.Gson
import org.junit.jupiter.api.Test
/**
* Maestro Cloud uses Gson for serialization. This test ensures that Point class
* can be deserialized correctly.
*
* See https://github.com/mobile-dev-inc/maestro/pull/627
*/
internal class PointTest {
@Test
internal fun `Deserialize Point`() {
// Given
val json = """
{
"x": 1,
"y": 2
}
""".trimIndent()
// When
val point = Gson().fromJson(json, Point::class.java)
// Then
assertThat(point).isEqualTo(Point(1, 2))
}
}