mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-10 11:59:59 +00:00
14 lines
410 B
Kotlin
14 lines
410 B
Kotlin
|
package dan200.computercraft.ingame
|
||
|
|
||
|
import dan200.computercraft.ingame.api.GameTest
|
||
|
import dan200.computercraft.ingame.api.TestContext
|
||
|
import dan200.computercraft.ingame.api.checkComputerOk
|
||
|
|
||
|
class CraftOsTest {
|
||
|
/**
|
||
|
* Sends a rednet message to another a computer and back again.
|
||
|
*/
|
||
|
@GameTest
|
||
|
suspend fun `Sends basic rednet messages`(context: TestContext) = context.checkComputerOk(13)
|
||
|
}
|