def test_changeIlluminationLevel(self):
        fade_to_black = "Your environs fade to black due to Ineffable Spooky Magic."
        no_change = "You do it.  Swell."
        dark_to_light = "Your environs are suddenly alight."
        brighten = "Your environs seem slightly brighter."
        endarken = "Your environs seem slightly dimmer."
        theAdmin = Manipulator(store=self.store, thing=self.playerWrapper.actor)
        self.playerWrapper.actor.powerUp(theAdmin)

        self._test(
            "illuminate 0",
            [fade_to_black],
            [fade_to_black])

        ll = self.store.findUnique(
            objects.LocationLighting,
            objects.LocationLighting.thing == self.location)
        self.assertEquals(ll.candelas, 0)

        self._test(
            "illuminate 0",
            [no_change])
        self.assertEquals(ll.candelas, 0)

        self._test(
            "illuminate 100",
            [dark_to_light],
            [dark_to_light])
        self.assertEquals(ll.candelas, 100)

        self._test(
            "illuminate 110",
            [brighten],
            [brighten])
        self.assertEquals(ll.candelas, 110)

        self._test(
            "illuminate 100",
            [endarken],
            [endarken])
        self.assertEquals(ll.candelas, 100)

        self._test(
            "illuminate 0",
            [fade_to_black],
            [fade_to_black])
        self.assertEquals(ll.candelas, 0)
Get a pointer to the underlying function for a CFFI function as an
dataset/ETHPy150Open twisted/imaginary/imaginary/test/test_illumination.py/DarknessCommandTestCase.test_changeIlluminationLevel--crossover with--dataset/ETHPy150Open numba/numba/numba/typing/cffi_utils.py/get_pointer