Class PrimitiveTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class PrimitiveTest
    extends junit.framework.TestCase
    The JUNIT Test for the Primitive.

    Copyright (c) 2002-2021 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.

    Author:
    Peter Jacobs
    • Constructor Summary

      Constructors 
      Constructor Description
      PrimitiveTest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void test()
      Test most of the Primitive class.
      void testCast()
      Test the cast methods.
      void testPrimitiveAssignable()
      test the isPrimitiveAssignable method.
      • Methods inherited from class junit.framework.TestCase

        assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
    • Constructor Detail

      • PrimitiveTest

        public PrimitiveTest()
    • Method Detail

      • test

        public void test()
        Test most of the Primitive class.
      • testCast

        public void testCast()
        Test the cast methods.
      • testPrimitiveAssignable

        public void testPrimitiveAssignable()
        test the isPrimitiveAssignable method.