Ignore:
Timestamp:
Sep 25, 2011, 12:21:44 AM (11 years ago)
Author:
sam
Message:

test: give more explicit names to unit test cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/real.cpp

    r976 r979  
    2323LOLUNIT_FIXTURE(RealTest)
    2424{
    25     LOLUNIT_TEST(test_real_from_float)
     25    LOLUNIT_TEST(FloatToReal)
    2626    {
    2727        float a1 = real(0.0f);
     
    4040    }
    4141
    42     LOLUNIT_TEST(test_real_from_double)
     42    LOLUNIT_TEST(DoubleToReal)
    4343    {
    4444        double a1 = real(0.0);
     
    5757    }
    5858
    59     LOLUNIT_TEST(test_real_neg)
     59    LOLUNIT_TEST(UnaryMinus)
    6060    {
    6161        float a1 = - real(1.0f);
     
    7070    }
    7171
    72     LOLUNIT_TEST(test_real_comp)
     72    LOLUNIT_TEST(RealComparison)
    7373    {
    7474        LOLUNIT_ASSERT(real(1.0f) > real(0.5f));
     
    9191    }
    9292
    93     LOLUNIT_TEST(test_real_add)
     93    LOLUNIT_TEST(RealAddition)
    9494    {
    9595        float a1 = real(1.0f) + real(0.0f);
     
    106106    }
    107107
    108     LOLUNIT_TEST(test_real_sub)
     108    LOLUNIT_TEST(RealSubtraction)
    109109    {
    110110        float a1 = real(1.0f) + real(1e20f) - real(1e20f);
     
    113113    }
    114114
    115     LOLUNIT_TEST(test_real_mul)
     115    LOLUNIT_TEST(RealMultiplication)
    116116    {
    117117        real x(1.25f);
     
    131131    }
    132132
    133     LOLUNIT_TEST(test_real_div)
     133    LOLUNIT_TEST(RealDivision)
    134134    {
    135135        real a1(1.0f);
Note: See TracChangeset for help on using the changeset viewer.