Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/VDM/VDMPP/MSAWseqPP/lib/   (Vienna Development Method ©)  Datei vom 13.4.2020 mit Größe 1 kB image not shown  

Quellcode-Bibliothek RadarTestCase.java

  Sprache: JAVA
 

package dk.au.eng;

import org.junit.Assert;
import org.junit.Test;

public class RadarTestCase {

 @Test
 public void testCoordinatesToAngle90()
 {
  int angle = Radar.crdToAngle(0200);
  Assert.assertEquals(90,angle);
 }
 

 @Test
 public void testCoordinatesToAngle0()
 {
  int angle = Radar.crdToAngle(2000);
  Assert.assertEquals(0,angle);
 }

 @Test
 public void testCoordinatesToAngle180()
 {
  int angle = Radar.crdToAngle(-2000);
  Assert.assertEquals(180,angle);
 }

 @Test
 public void testCoordinatesToAngle270()
 {
  int angle = Radar.crdToAngle(0, -200);
  Assert.assertEquals(270,angle);
 }

 @Test
 public void testCoordinatesToAngle45()
 {
  int angle = Radar.crdToAngle(5050);
  Assert.assertEquals(45,angle);
 }
 
 @Test
 public void testCoordinatesToAngle135()
 {
  int angle = Radar.crdToAngle(-5050);
  Assert.assertEquals(135,angle);
 }

 
 @Test
 public void testCoordinatesToAngle225()
 {
  int angle = Radar.crdToAngle(-50, -50);
  Assert.assertEquals(225,angle);
 }
 
 @Test
 public void testCoordinatesToAngle315()
 {
  int angle = Radar.crdToAngle(50, -50);
  Assert.assertEquals(315,angle);
 }


}

Messung V0.5 in Prozent
C=92 H=99 G=95

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.12Bemerkung:  (vorverarbeitet am  2026-06-10) ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.