From c36f641bbe0581b9c1a1285875c24373f3473a22 Mon Sep 17 00:00:00 2001 From: Philipp3107 Date: Thu, 8 Dec 2022 23:41:18 +0100 Subject: [PATCH] updated README --- README.md | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68d614a..4369104 100644 --- a/README.md +++ b/README.md @@ -38,13 +38,42 @@ ### Variables: ``` ---not set yet-- +private int id +private String name +private boolean power ``` ___ ### Methods: ``` ---not set yet-- +public R2D2():R2D2 +//implemented from interface Robotcontrol +public getId():int +public getName():String +public triggerPowerSWitch():void +public isPowerOn():boolean +``` + +

TestKlasse R2D2Test

+ +### Variables: +``` +public int id +public String name +public R2D2 Herbert +``` +___ + +### Methods: +``` +@BeforeEach +setup():void + +@Test +getName():void +triggerPowerSwitch():void +iPowerOn():void + ```

Klasse C3PO