11959 lines
446 KiB
Bash
11959 lines
446 KiB
Bash
|
# **************************************************************************** #
|
||
|
# #
|
||
|
# .--. _ #
|
||
|
# test.sh |o_o || | #
|
||
|
# |:_/ || |_ _ ___ __ #
|
||
|
# By: houtworm <codam@houtworm.net> // \ \ __| | | \ \/ / #
|
||
|
# (| | )|_| |_| |> < #
|
||
|
# Created: 2023/02/25 16:38:23 by houtworm /'\_ _/`\__|\__,_/_/\_\ #
|
||
|
# Updated: 2023/03/07 04:19:05 by houtworm \___)=(___/ #
|
||
|
# #
|
||
|
# **************************************************************************** #
|
||
|
|
||
|
#!/bin/bash
|
||
|
|
||
|
OS=$(uname -s)
|
||
|
TOTAL=0
|
||
|
FAULTS=0
|
||
|
PNAME=libftprintf.a
|
||
|
MFAULTS=1
|
||
|
BFAULTS=1
|
||
|
OMFAULTS=1
|
||
|
OBFAULTS=1
|
||
|
EFAULTS=1
|
||
|
UBFAULTS=1
|
||
|
if [ -z $1 ]
|
||
|
then
|
||
|
printf "\e[1;36mNo subject specified... Going for baby mode\e[0;00m\n"
|
||
|
printf "\e[1;31mAdd a number from 1 to 5 to run additional tests\e[0;00m\n"
|
||
|
LEVEL=0
|
||
|
elif [ $1 -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;36mSo no bonus, that is very disappointing\e[0;00m\n"
|
||
|
LEVEL=0
|
||
|
elif [ $1 -eq 1 ]
|
||
|
then
|
||
|
printf "\e[1;36mThe bonus, someone actually wants to learn something\e[0;00m\n"
|
||
|
LEVEL=1
|
||
|
elif [ $1 -eq 2 ]
|
||
|
then
|
||
|
printf "\e[1;36mGoing for the old subject are you, Should be very educational\e[0;00m\n"
|
||
|
LEVEL=2
|
||
|
elif [ $1 -eq 3 ]
|
||
|
then
|
||
|
printf "\e[1;36mThe old Bonus, Who doesn't need floats right\e[0;00m\n"
|
||
|
LEVEL=3
|
||
|
elif [ $1 -eq 4 ]
|
||
|
then
|
||
|
printf "\e[1;36mSomeone really wants to show off, but it should be easy by now\e[0;00m\n"
|
||
|
LEVEL=4
|
||
|
elif [ $1 -eq 5 ]
|
||
|
then
|
||
|
printf "\e[1;36mTackling Undefined behavior you got some balls\e[0;00m\n"
|
||
|
LEVEL=5
|
||
|
fi
|
||
|
|
||
|
mkdir -p tests/tmp/libft
|
||
|
HEADLOC=$(find ./ -name '*printf.h' | grep -v tests | grep -v ccls)
|
||
|
LIBFLOC=$(find -L ./ -name '*libft.h' | grep -v tests | grep -v ccls)
|
||
|
cp $HEADLOC tests/tmp/ft_printf.h
|
||
|
cp $LIBFLOC tests/tmp/libft/libft.h
|
||
|
gcc -o tests/tmp/realoutputtestbasic tests/src/realoutbasic.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestbasic tests/src/realretbasic.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestnullbasic tests/src/realoutnullbasic.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestnullbasic tests/src/realretnullbasic.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestc tests/src/realoutchar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestc tests/src/realretchar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestnullchar tests/src/realoutnullchar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestnullchar tests/src/realretnullchar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestcstar tests/src/realoutcharstar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestcstar tests/src/realretcharstar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtests tests/src/realoutstring.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntests tests/src/realretstring.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestnullstr tests/src/realoutnullstr.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestnullstr tests/src/realretnullstr.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestsstar tests/src/realoutstringstar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestsstar tests/src/realretstringstar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtesti tests/src/realoutint.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntesti tests/src/realretint.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestistar tests/src/realoutintstar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestistar tests/src/realretintstar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestnullpointer tests/src/realoutnullpointer.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestnullpointer tests/src/realretnullpointer.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestf tests/src/realoutfloat.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestf tests/src/realretfloat.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestfstar tests/src/realoutfloatstar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestfstar tests/src/realretfloatstar.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realoutputtestn tests/src/realoutn.c #2> /dev/null
|
||
|
gcc -o tests/tmp/realreturntestn tests/src/realretn.c #2> /dev/null
|
||
|
|
||
|
testprintfbasic()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestbasic tests/src/ftpfoutbasic.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestbasic "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"'\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"'\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestbasic "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"'\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestbasic tests/src/ftpfretbasic.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestbasic "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestbasic "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"'\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"'\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestbasic tests/src/ftpfoutbasic.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestbasic "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"'\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"'\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfnullbasic()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestnullbasic tests/src/ftpfoutnullbasic.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestnullbasic "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\(NULL\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\(NULL\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestnullbasic "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\(NULL\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestnullbasic tests/src/ftpfretnullbasic.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestnullbasic "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestnullbasic "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\(NULL\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\(NULL\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestnullbasic tests/src/ftpfoutnullbasic.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestnullbasic "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\(NULL\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\(NULL\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfchar()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestc tests/src/ftpfoutchar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestc "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', "'"$2"'"\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', "'"$2"'"\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestc "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', "'"$2"'"\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestc tests/src/ftpfretchar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestc "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestc "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', "'"$2"'"\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', "'"$2"'"\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestc tests/src/ftpfoutchar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestc "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', "'"$2"'"\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', "'"$2"'"\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfnullchar()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestnullchar tests/src/ftpfoutnullchar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestnullchar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'%%c'"', "'"\\0"'"\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'%%c'"', "'"\\0"'"\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestnullchar "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'%%c'"', "'"\\0"'"\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestnullchar tests/src/ftpfretnullchar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestnullchar "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestnullchar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'%%c'"', "'"\\0"'"\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'%%c'"', "'"\\0"'"\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestnullchar tests/src/ftpfoutnullchar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestnullchar "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'%%c'"', "'"\\0"'"\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'%%c'"', "'"\\0"'"\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfcharstar()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestcstar tests/src/ftpfoutcharstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestcstar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, "'"$3"'"\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, "'"$3"'"\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestcstar "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, "'"$3"'"\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestcstar tests/src/ftpfretcharstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestcstar "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestcstar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, "'"$3"'"\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, "'"$3"'"\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestcstar tests/src/ftpfoutcharstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestcstar "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, "'"$3"'"\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, "'"$3"'"\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfstring()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtests tests/src/ftpfoutstring.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtests "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', '"'$2'"'\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', '"'$2'"'\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtests "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', '"'$2'"'\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntests tests/src/ftpfretstring.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntests "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntests "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', '"'$2'"'\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtests tests/src/ftpfoutstring.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtests "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', '"'$2'"'\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfnullstring()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestnullstr tests/src/ftpfoutnullstr.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestnullstr "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'%%s'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'%%s'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestnullstr "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'%%s'"', NULL\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestnullstr tests/src/ftpfretnullstr.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestnullstr "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestnullstr "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'%%s'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'%%s'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestnullstr tests/src/ftpfoutnullstr.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestnullstr "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'%%s'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'%%s'"', NULL\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfstringstar()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestsstar tests/src/ftpfoutstringstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestsstar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, '"'$3'"'\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, '"'$3'"'\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestsstar "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, '"'$3'"'\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestsstar tests/src/ftpfretstringstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestsstar "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestsstar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, '"'$3'"'\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, '"'$3'"'\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestsstar tests/src/ftpfoutstringstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestsstar "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, '"'$3'"'\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, '"'$3'"'\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfint()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtesti tests/src/ftpfoutint.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtesti "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtesti "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntesti tests/src/ftpfretint.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntesti "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntesti "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtesti tests/src/ftpfoutint.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtesti "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfintstar()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestistar tests/src/ftpfoutintstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestistar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestistar "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestistar tests/src/ftpfretintstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestistar "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestistar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestistar tests/src/ftpfoutintstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestistar "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfpointer()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/outputpointer tests/src/outputpointer.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/outputpointer "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', pointer\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', pointer\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
FTPFRET=$(cat tests/tmp/ftpfoutput | uniq -d | wc -l | tr -d '\n')
|
||
|
if [ $FTPFRET != "1" ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', pointer\)\;
|
||
|
cat tests/tmp/ftpfoutput
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/returnpointer tests/src/returnpointer.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/returnpointer "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', pointer\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -gt 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET is not correct \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', pointer\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/outputpointer tests/src/outputpointer.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/outputpointer "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', pointer\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', pointer\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfnullpointer()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestnullpointer tests/src/ftpfoutnullpointer.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestnullpointer "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'%%p'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'%%p'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestnullpointer "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'%%p'"', NULL\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestnullpointer tests/src/ftpfretnullpointer.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestnullpointer "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestnullpointer "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'%%p'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'%%p'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestnullpointer tests/src/ftpfoutnullpointer.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestnullpointer "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'%%p'"', NULL\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'%%p'"', NULL\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfpointerstar()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/outputpointerstar tests/src/outputpointerstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/outputpointerstar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, pointer\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, pointer\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
FTPFRET=$(cat tests/tmp/ftpfoutput | uniq -d | wc -l | tr -d '\n')
|
||
|
if [ $FTPFRET != "1" ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, pointer\)\;
|
||
|
cat tests/tmp/ftpfoutput
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/returnpointerstar tests/src/returnpointerstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/returnpointerstar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, pointer\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -gt 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET is not correct \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, pointer\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/outputpointerstar tests/src/outputpointerstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/outputpointerstar "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, pointer\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, pointer\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintffloat()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestf tests/src/ftpfoutfloat.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestf "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestf "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestf tests/src/ftpfretfloat.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestf "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestf "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestf tests/src/ftpfoutfloat.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestf "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintffloatstar()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestfstar tests/src/ftpfoutfloatstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestfstar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestfstar "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestfstar tests/src/ftpfretfloatstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestfstar "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestfstar "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestfstar tests/src/ftpfoutfloatstar.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestfstar "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2, $3\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
testprintfn()
|
||
|
{
|
||
|
TOTAL=$(($TOTAL+3))
|
||
|
CURFUNERR=0
|
||
|
gcc -o tests/tmp/ftpfoutputtestn tests/src/ftpfoutn.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestn "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Crashes \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+3))
|
||
|
CURFUNERR=1
|
||
|
else
|
||
|
./tests/tmp/realoutputtestn "$@" > tests/tmp/realoutput
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput > tests/tmp/diff
|
||
|
if [ $? -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO output is different \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '>' | tr -d '>' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
diff tests/tmp/realoutput tests/tmp/ftpfoutput | grep '<' | tr -d '<' | tr -d '\n' | tr -d ' '
|
||
|
printf "\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -o tests/tmp/ftpfreturntestn tests/src/ftpfretn.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/realreturntestn "$@" > tests/tmp/realoutput
|
||
|
REALRET=$?
|
||
|
./tests/tmp/ftpfreturntestn "$@" > tests/tmp/ftpfoutput
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $REALRET -ne $FTPFRET ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO return value $FTPFRET should be $REALRET \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
gcc -g -fsanitize=address -o tests/tmp/ftpfoutputtestn tests/src/ftpfoutn.c libftprintf.a #2> /dev/null
|
||
|
./tests/tmp/ftpfoutputtestn "$@" > /dev/null 2> tests/tmp/memorycheck
|
||
|
FTPFRET=$?
|
||
|
if [ $FTPFRET -eq 142 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO Printf Hangs \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
elif [ $FTPFRET -ne 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mKO fsanitize \e[0;00m"
|
||
|
echo ft_printf\('"'$1'"', $2\)\;
|
||
|
cat tests/tmp/memorycheck
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
CURFUNERR=1
|
||
|
fi
|
||
|
fi
|
||
|
if [ $CURFUNERR -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK \e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
checkfile()
|
||
|
{
|
||
|
ls $1 2> /dev/null | grep $1 > /dev/null
|
||
|
if [ $? -ne $2 ]
|
||
|
then
|
||
|
printf "\e[1;31m\nMakefile does not create $1\e[0;00m\n"
|
||
|
rm -rf tests/tmp
|
||
|
exit 1
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
searchobj()
|
||
|
{
|
||
|
FILES=$(find ./ -name '*.o' | wc -l)
|
||
|
if [ $1 -eq 0 ]
|
||
|
then
|
||
|
if [ $FILES -ne 0 ]
|
||
|
then
|
||
|
printf "\e[1;31m\nObject files found after clean\e[0;00m\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
fi
|
||
|
fi
|
||
|
if [ $1 -eq 1 ]
|
||
|
then
|
||
|
if [ $FILES -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;31m\nObject files not found after make\e[0;00m\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
fi
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
checkrule()
|
||
|
{
|
||
|
make $1 > /dev/null 2>&1
|
||
|
if [ $? -eq 2 ]
|
||
|
then
|
||
|
printf "\e[1;31m\nMissing rule $1\e[0;00m\n"
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
relinkcheck()
|
||
|
{
|
||
|
make $1 2>&1 | grep -v Nothing > tests/tmp/relink && cat tests/tmp/relink | grep -v directory > /dev/null
|
||
|
if [ $? -eq 0 ]
|
||
|
then
|
||
|
printf "\n\e[1;31mMakefile relinks\e\n[0;00m"
|
||
|
cat tests/tmp/relink
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
else
|
||
|
printf "\e[1;32mOK\e[0;00m"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
# Norm Check
|
||
|
printf "\e[1;36mTesting Source with Norminette \e[0;00m"
|
||
|
norminette $(find ./ -name '*.[ch]' | grep -v ./tests/ | grep -v ccls) > tests/tmp/norm
|
||
|
if [ $? -eq 1 ]
|
||
|
then
|
||
|
printf "\e[1;31m\nYour shit is not norm!\e\n[0;00m"
|
||
|
cat tests/tmp/norm | grep Error
|
||
|
FAULTS=$(($FAULTS+1))
|
||
|
else
|
||
|
printf "\e[1;32mOK\e[0;00m"
|
||
|
fi
|
||
|
printf "\n"
|
||
|
|
||
|
# Makefile Rule Check
|
||
|
printf "\e[1;36mTesting Makefile Rules \e[0;00m"
|
||
|
checkrule all
|
||
|
checkfile $PNAME 0
|
||
|
searchobj 1
|
||
|
checkrule clean
|
||
|
searchobj 0
|
||
|
checkfile $PNAME 0
|
||
|
checkrule $PNAME
|
||
|
searchobj 1
|
||
|
checkfile $PNAME 0
|
||
|
checkrule fclean
|
||
|
searchobj 0
|
||
|
checkfile $PNAME 1
|
||
|
checkrule re
|
||
|
searchobj 1
|
||
|
checkfile $PNAME 0
|
||
|
if [ $FAULTS -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;32mOK\e[0;00m"
|
||
|
fi
|
||
|
printf "\n"
|
||
|
|
||
|
# Makefile Relink Check
|
||
|
printf "\e[1;36mTesting Makefile Relink \e[0;00m"
|
||
|
relinkcheck
|
||
|
printf "\n"
|
||
|
|
||
|
# basic tests
|
||
|
printf "\e[1;36mTesting Mandatory Basic Checks \e[0;00m"
|
||
|
testprintfbasic $'Hallo'
|
||
|
testprintfbasic $'Hallo dit is een string'
|
||
|
testprintfbasic $'Oldline
|
||
|
Newline'
|
||
|
testprintfbasic $'%%%%'
|
||
|
testprintfbasic $'!@#$^&*()_+=-][{};:,.<>/?'
|
||
|
testprintfnullbasic
|
||
|
#testprintfbasic $'NULL'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_mandatory Conversion c
|
||
|
printf "\e[1;36mTesting Mandatory Conversion c \e[0;00m"
|
||
|
testprintfchar $'%c' $'a'
|
||
|
testprintfchar $'%c' $'b'
|
||
|
testprintfchar $'%c' $'c'
|
||
|
testprintfchar $'%c' $'x'
|
||
|
testprintfchar $'%c' $'y'
|
||
|
testprintfchar $'%c' $'z'
|
||
|
testprintfchar $'%c' $'1'
|
||
|
testprintfchar $'%c' $'0'
|
||
|
testprintfchar $'%c' $'
|
||
|
|
||
|
'
|
||
|
testprintfchar $'%c' $' '
|
||
|
testprintfnullchar
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_mandatory Conversion s
|
||
|
printf "\e[1;36mTesting Mandatory Conversion s \e[0;00m"
|
||
|
testprintfstring $'%s' $'Hallo'
|
||
|
testprintfstring $'%s' $'Joepie'
|
||
|
testprintfstring $'%s' $'HOUTWORM'
|
||
|
testprintfstring $'%s' $'Blabla'
|
||
|
testprintfstring $'%s' $'Bla
|
||
|
bla'
|
||
|
testprintfstring $'%s' $'Bla bla'
|
||
|
testprintfstring $'%s' $' Blabla '
|
||
|
testprintfstring $'%s' $'Blabla '
|
||
|
testprintfstring $'%s' $' Blabla'
|
||
|
testprintfstring $'%s' $'!@#$%^&*()_+=-][{};:,.<>/?'
|
||
|
testprintfnullstring
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_mandatory Conversion p
|
||
|
printf "\e[1;36mTesting Mandatory Conversion p \e[0;00m"
|
||
|
testprintfpointer $'%p' $'a'
|
||
|
testprintfpointer $'%p' $'Hallo'
|
||
|
testprintfpointer $'%p' $'Hallo2'
|
||
|
testprintfpointer $'%p' $'Hallo3'
|
||
|
testprintfpointer $'%p' $'Hallo4'
|
||
|
testprintfpointer $'%p' $'Hallo5'
|
||
|
testprintfpointer $'%p' $'!@#$%^&*()_+=-][;:,.<>/?'
|
||
|
testprintfpointer $'%p' $'Hal lo'
|
||
|
testprintfpointer $'%p' $'Hal
|
||
|
lo'
|
||
|
testprintfpointer $'%p' $'123'
|
||
|
testprintfnullpointer
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_mandatory Conversion d
|
||
|
printf "\e[1;36mTesting Mandatory Conversion d \e[0;00m"
|
||
|
testprintfint $'%d' $'0'
|
||
|
testprintfint $'%d' $'1'
|
||
|
testprintfint $'%d' $'-1'
|
||
|
testprintfint $'%d' $'2147483647'
|
||
|
testprintfint $'%d' $'-2147483648'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_mandatory Conversion i
|
||
|
printf "\e[1;36mTesting Mandatory Conversion i \e[0;00m"
|
||
|
testprintfint $'%i' $'0'
|
||
|
testprintfint $'%i' $'1'
|
||
|
testprintfint $'%i' $'-1'
|
||
|
testprintfint $'%i' $'2147483647'
|
||
|
testprintfint $'%i' $'-2147483648'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_mandatory Conversion u
|
||
|
printf "\e[1;36mTesting Mandatory Conversion u \e[0;00m"
|
||
|
testprintfint $'%u' $'0'
|
||
|
testprintfint $'%u' $'1'
|
||
|
testprintfint $'%u' $'12345'
|
||
|
testprintfint $'%u' $'2147483647'
|
||
|
testprintfint $'%u' $'4294967295'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_mandatory Conversion x
|
||
|
printf "\e[1;36mTesting Mandatory Conversion x \e[0;00m"
|
||
|
testprintfint $'%x' $'0'
|
||
|
testprintfint $'%x' $'1'
|
||
|
testprintfint $'%x' $'12345'
|
||
|
testprintfint $'%x' $'2147483647'
|
||
|
testprintfint $'%x' $'4294967295'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_mandatory Conversion X
|
||
|
printf "\e[1;36mTesting Mandatory Conversion X \e[0;00m"
|
||
|
testprintfint $'%X' $'0'
|
||
|
testprintfint $'%X' $'1'
|
||
|
testprintfint $'%X' $'12345'
|
||
|
testprintfint $'%X' $'2147483647'
|
||
|
testprintfint $'%X' $'4294967295'
|
||
|
printf "\n"
|
||
|
|
||
|
if [ $LEVEL -lt 1 ]
|
||
|
then
|
||
|
printf "\e[1;31mI would highly recommend going for the bonus, so your printf is not a combined ft_put*\e[0;00m\n"
|
||
|
if [ $FAULTS -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;35mBut out of \e[1;36m$TOTAL tests\e[0;35m we got \e[1;32mno errors\e[1;35m, Congratulations\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 0
|
||
|
else
|
||
|
printf "\e[1;31mBut we got $FAULTS errors out of $TOTAL tests so that sucks..\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 1
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
MTOTAL=$TOTAL
|
||
|
MFAULTS=$FAULTS
|
||
|
MRIGHT=$(($MTOTAL-$MFAULTS))
|
||
|
FAULTS=0
|
||
|
TOTAL=0
|
||
|
|
||
|
# Make bonus if needed
|
||
|
make bonus >/dev/null 2>&1
|
||
|
|
||
|
# ft_bonus Flag '-'
|
||
|
printf "\e[1;36mTesting Bonus Flag "'-'" \e[0;00m"
|
||
|
testprintfchar $'%-c' $'1'
|
||
|
testprintfchar $'%-0c' $'1'
|
||
|
testprintfchar $'%-1c' $'1'
|
||
|
testprintfchar $'%-10c' $'1'
|
||
|
testprintfchar $'%-20c' $'1'
|
||
|
testprintfstring $'%-s' $'1'
|
||
|
testprintfstring $'%-0s' $'1'
|
||
|
testprintfstring $'%-1s' $'1'
|
||
|
testprintfstring $'%-10s' $'1'
|
||
|
testprintfstring $'%-20s' $'1'
|
||
|
testprintfstring $'%-s' $'Hallo'
|
||
|
testprintfstring $'%-0s' $'Hallo'
|
||
|
testprintfstring $'%-1s' $'Hallo'
|
||
|
testprintfstring $'%-10s' $'Hallo'
|
||
|
testprintfstring $'%-20s' $'Hallo'
|
||
|
testprintfpointer $'%-p' $'1'
|
||
|
testprintfpointer $'%-0p' $'1'
|
||
|
testprintfpointer $'%-1p' $'1'
|
||
|
testprintfpointer $'%-10p' $'1'
|
||
|
testprintfpointer $'%-20p' $'1'
|
||
|
testprintfint $'%-d' $'0'
|
||
|
testprintfint $'%-0d' $'0'
|
||
|
testprintfint $'%-1d' $'0'
|
||
|
testprintfint $'%-10d' $'0'
|
||
|
testprintfint $'%-20d' $'0'
|
||
|
testprintfint $'%-d' $'1'
|
||
|
testprintfint $'%-0d' $'1'
|
||
|
testprintfint $'%-1d' $'1'
|
||
|
testprintfint $'%-10d' $'1'
|
||
|
testprintfint $'%-20d' $'1'
|
||
|
testprintfint $'%-d' $'-1'
|
||
|
testprintfint $'%-0d' $'-1'
|
||
|
testprintfint $'%-1d' $'-1'
|
||
|
testprintfint $'%-10d' $'-1'
|
||
|
testprintfint $'%-20d' $'-1'
|
||
|
testprintfint $'%-d' $'2147483647'
|
||
|
testprintfint $'%-0d' $'2147483647'
|
||
|
testprintfint $'%-1d' $'2147483647'
|
||
|
testprintfint $'%-10d' $'2147483647'
|
||
|
testprintfint $'%-20d' $'2147483647'
|
||
|
testprintfint $'%-d' $'-2147483648'
|
||
|
testprintfint $'%-0d' $'-2147483648'
|
||
|
testprintfint $'%-1d' $'-2147483648'
|
||
|
testprintfint $'%-10d' $'-2147483648'
|
||
|
testprintfint $'%-20d' $'-2147483648'
|
||
|
testprintfint $'%-i' $'0'
|
||
|
testprintfint $'%-0i' $'0'
|
||
|
testprintfint $'%-1i' $'0'
|
||
|
testprintfint $'%-10i' $'0'
|
||
|
testprintfint $'%-20i' $'0'
|
||
|
testprintfint $'%-i' $'1'
|
||
|
testprintfint $'%-0i' $'1'
|
||
|
testprintfint $'%-1i' $'1'
|
||
|
testprintfint $'%-10i' $'1'
|
||
|
testprintfint $'%-20i' $'1'
|
||
|
testprintfint $'%-i' $'-1'
|
||
|
testprintfint $'%-0i' $'-1'
|
||
|
testprintfint $'%-1i' $'-1'
|
||
|
testprintfint $'%-10i' $'-1'
|
||
|
testprintfint $'%-20i' $'-1'
|
||
|
testprintfint $'%-i' $'2147483647'
|
||
|
testprintfint $'%-0i' $'2147483647'
|
||
|
testprintfint $'%-1i' $'2147483647'
|
||
|
testprintfint $'%-10i' $'2147483647'
|
||
|
testprintfint $'%-20i' $'2147483647'
|
||
|
testprintfint $'%-i' $'-2147483648'
|
||
|
testprintfint $'%-0i' $'-2147483648'
|
||
|
testprintfint $'%-1i' $'-2147483648'
|
||
|
testprintfint $'%-10i' $'-2147483648'
|
||
|
testprintfint $'%-20i' $'-2147483648'
|
||
|
testprintfint $'%-u' $'0'
|
||
|
testprintfint $'%-0u' $'0'
|
||
|
testprintfint $'%-1u' $'0'
|
||
|
testprintfint $'%-10u' $'0'
|
||
|
testprintfint $'%-20u' $'0'
|
||
|
testprintfint $'%-u' $'1'
|
||
|
testprintfint $'%-0u' $'1'
|
||
|
testprintfint $'%-1u' $'1'
|
||
|
testprintfint $'%-10u' $'1'
|
||
|
testprintfint $'%-20u' $'1'
|
||
|
testprintfint $'%-u' $'2147483647'
|
||
|
testprintfint $'%-0u' $'2147483647'
|
||
|
testprintfint $'%-1u' $'2147483647'
|
||
|
testprintfint $'%-10u' $'2147483647'
|
||
|
testprintfint $'%-20u' $'2147483647'
|
||
|
testprintfint $'%-x' $'0'
|
||
|
testprintfint $'%-0x' $'0'
|
||
|
testprintfint $'%-1x' $'0'
|
||
|
testprintfint $'%-10x' $'0'
|
||
|
testprintfint $'%-20x' $'0'
|
||
|
testprintfint $'%-x' $'1'
|
||
|
testprintfint $'%-0x' $'1'
|
||
|
testprintfint $'%-1x' $'1'
|
||
|
testprintfint $'%-10x' $'1'
|
||
|
testprintfint $'%-20x' $'1'
|
||
|
testprintfint $'%-x' $'2147483647'
|
||
|
testprintfint $'%-0x' $'2147483647'
|
||
|
testprintfint $'%-1x' $'2147483647'
|
||
|
testprintfint $'%-10x' $'2147483647'
|
||
|
testprintfint $'%-20x' $'2147483647'
|
||
|
testprintfint $'%-X' $'0'
|
||
|
testprintfint $'%-0X' $'0'
|
||
|
testprintfint $'%-1X' $'0'
|
||
|
testprintfint $'%-10X' $'0'
|
||
|
testprintfint $'%-20X' $'0'
|
||
|
testprintfint $'%-X' $'1'
|
||
|
testprintfint $'%-0X' $'1'
|
||
|
testprintfint $'%-1X' $'1'
|
||
|
testprintfint $'%-10X' $'1'
|
||
|
testprintfint $'%-20X' $'1'
|
||
|
testprintfint $'%-X' $'2147483647'
|
||
|
testprintfint $'%-0X' $'2147483647'
|
||
|
testprintfint $'%-1X' $'2147483647'
|
||
|
testprintfint $'%-10X' $'2147483647'
|
||
|
testprintfint $'%-20X' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_bonus Flag '0'
|
||
|
printf "\e[1;36mTesting Bonus Flag "'0'" \e[0;00m"
|
||
|
testprintfchar $'%0c' $'1'
|
||
|
testprintfchar $'%00c' $'1'
|
||
|
testprintfchar $'%01c' $'1'
|
||
|
testprintfchar $'%010c' $'1'
|
||
|
testprintfchar $'%020c' $'1'
|
||
|
testprintfstring $'%0s' $'1'
|
||
|
testprintfstring $'%00s' $'1'
|
||
|
testprintfstring $'%01s' $'1'
|
||
|
testprintfstring $'%010s' $'1'
|
||
|
testprintfstring $'%020s' $'1'
|
||
|
testprintfstring $'%0s' $'Hallo'
|
||
|
testprintfstring $'%00s' $'Hallo'
|
||
|
testprintfstring $'%01s' $'Hallo'
|
||
|
testprintfstring $'%010s' $'Hallo'
|
||
|
testprintfstring $'%020s' $'Hallo'
|
||
|
testprintfpointer $'%0p' $'1'
|
||
|
testprintfpointer $'%00p' $'1'
|
||
|
testprintfpointer $'%01p' $'1'
|
||
|
testprintfpointer $'%010p' $'1'
|
||
|
testprintfpointer $'%020p' $'1'
|
||
|
testprintfint $'%0d' $'0'
|
||
|
testprintfint $'%00d' $'0'
|
||
|
testprintfint $'%01d' $'0'
|
||
|
testprintfint $'%010d' $'0'
|
||
|
testprintfint $'%020d' $'0'
|
||
|
testprintfint $'%0d' $'1'
|
||
|
testprintfint $'%00d' $'1'
|
||
|
testprintfint $'%01d' $'1'
|
||
|
testprintfint $'%010d' $'1'
|
||
|
testprintfint $'%020d' $'1'
|
||
|
testprintfint $'%0d' $'-1'
|
||
|
testprintfint $'%00d' $'-1'
|
||
|
testprintfint $'%01d' $'-1'
|
||
|
testprintfint $'%010d' $'-1'
|
||
|
testprintfint $'%020d' $'-1'
|
||
|
testprintfint $'%0d' $'2147483647'
|
||
|
testprintfint $'%00d' $'2147483647'
|
||
|
testprintfint $'%01d' $'2147483647'
|
||
|
testprintfint $'%010d' $'2147483647'
|
||
|
testprintfint $'%020d' $'2147483647'
|
||
|
testprintfint $'%0d' $'-2147483648'
|
||
|
testprintfint $'%00d' $'-2147483648'
|
||
|
testprintfint $'%01d' $'-2147483648'
|
||
|
testprintfint $'%010d' $'-2147483648'
|
||
|
testprintfint $'%020d' $'-2147483648'
|
||
|
testprintfint $'%0i' $'0'
|
||
|
testprintfint $'%00i' $'0'
|
||
|
testprintfint $'%01i' $'0'
|
||
|
testprintfint $'%010i' $'0'
|
||
|
testprintfint $'%020i' $'0'
|
||
|
testprintfint $'%0i' $'1'
|
||
|
testprintfint $'%00i' $'1'
|
||
|
testprintfint $'%01i' $'1'
|
||
|
testprintfint $'%010i' $'1'
|
||
|
testprintfint $'%020i' $'1'
|
||
|
testprintfint $'%0i' $'-1'
|
||
|
testprintfint $'%00i' $'-1'
|
||
|
testprintfint $'%01i' $'-1'
|
||
|
testprintfint $'%010i' $'-1'
|
||
|
testprintfint $'%020i' $'-1'
|
||
|
testprintfint $'%0i' $'2147483647'
|
||
|
testprintfint $'%00i' $'2147483647'
|
||
|
testprintfint $'%01i' $'2147483647'
|
||
|
testprintfint $'%010i' $'2147483647'
|
||
|
testprintfint $'%020i' $'2147483647'
|
||
|
testprintfint $'%0i' $'-2147483648'
|
||
|
testprintfint $'%00i' $'-2147483648'
|
||
|
testprintfint $'%01i' $'-2147483648'
|
||
|
testprintfint $'%010i' $'-2147483648'
|
||
|
testprintfint $'%020i' $'-2147483648'
|
||
|
testprintfint $'%0u' $'0'
|
||
|
testprintfint $'%00u' $'0'
|
||
|
testprintfint $'%01u' $'0'
|
||
|
testprintfint $'%010u' $'0'
|
||
|
testprintfint $'%020u' $'0'
|
||
|
testprintfint $'%0u' $'1'
|
||
|
testprintfint $'%00u' $'1'
|
||
|
testprintfint $'%01u' $'1'
|
||
|
testprintfint $'%010u' $'1'
|
||
|
testprintfint $'%020u' $'1'
|
||
|
testprintfint $'%0u' $'2147483647'
|
||
|
testprintfint $'%00u' $'2147483647'
|
||
|
testprintfint $'%01u' $'2147483647'
|
||
|
testprintfint $'%010u' $'2147483647'
|
||
|
testprintfint $'%020u' $'2147483647'
|
||
|
testprintfint $'%0x' $'0'
|
||
|
testprintfint $'%00x' $'0'
|
||
|
testprintfint $'%01x' $'0'
|
||
|
testprintfint $'%010x' $'0'
|
||
|
testprintfint $'%020x' $'0'
|
||
|
testprintfint $'%0x' $'1'
|
||
|
testprintfint $'%00x' $'1'
|
||
|
testprintfint $'%01x' $'1'
|
||
|
testprintfint $'%010x' $'1'
|
||
|
testprintfint $'%020x' $'1'
|
||
|
testprintfint $'%0x' $'2147483647'
|
||
|
testprintfint $'%00x' $'2147483647'
|
||
|
testprintfint $'%01x' $'2147483647'
|
||
|
testprintfint $'%010x' $'2147483647'
|
||
|
testprintfint $'%020x' $'2147483647'
|
||
|
testprintfint $'%0X' $'0'
|
||
|
testprintfint $'%00X' $'0'
|
||
|
testprintfint $'%01X' $'0'
|
||
|
testprintfint $'%010X' $'0'
|
||
|
testprintfint $'%020X' $'0'
|
||
|
testprintfint $'%0X' $'1'
|
||
|
testprintfint $'%00X' $'1'
|
||
|
testprintfint $'%01X' $'1'
|
||
|
testprintfint $'%010X' $'1'
|
||
|
testprintfint $'%020X' $'1'
|
||
|
testprintfint $'%0X' $'2147483647'
|
||
|
testprintfint $'%00X' $'2147483647'
|
||
|
testprintfint $'%01X' $'2147483647'
|
||
|
testprintfint $'%010X' $'2147483647'
|
||
|
testprintfint $'%020X' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_bonus Flag '.'
|
||
|
printf "\e[1;36mTesting Bonus Flag "'.'" \e[0;00m"
|
||
|
testprintfchar $'%.c' $'1'
|
||
|
testprintfchar $'%.0c' $'1'
|
||
|
testprintfchar $'%.1c' $'1'
|
||
|
testprintfchar $'%.10c' $'1'
|
||
|
testprintfchar $'%.20c' $'1'
|
||
|
testprintfstring $'%.s' $'1'
|
||
|
testprintfstring $'%.0s' $'1'
|
||
|
testprintfstring $'%.1s' $'1'
|
||
|
testprintfstring $'%.10s' $'1'
|
||
|
testprintfstring $'%.20s' $'1'
|
||
|
testprintfstring $'%.s' $'Hallo'
|
||
|
testprintfstring $'%.0s' $'Hallo'
|
||
|
testprintfstring $'%.1s' $'Hallo'
|
||
|
testprintfstring $'%.10s' $'Hallo'
|
||
|
testprintfstring $'%.20s' $'Hallo'
|
||
|
testprintfpointer $'%.p' $'1'
|
||
|
testprintfpointer $'%.0p' $'1'
|
||
|
testprintfpointer $'%.1p' $'1'
|
||
|
testprintfpointer $'%.10p' $'1'
|
||
|
testprintfpointer $'%.20p' $'1'
|
||
|
testprintfint $'%.d' $'0'
|
||
|
testprintfint $'%.0d' $'0'
|
||
|
testprintfint $'%.1d' $'0'
|
||
|
testprintfint $'%.10d' $'0'
|
||
|
testprintfint $'%.20d' $'0'
|
||
|
testprintfint $'%.d' $'1'
|
||
|
testprintfint $'%.0d' $'1'
|
||
|
testprintfint $'%.1d' $'1'
|
||
|
testprintfint $'%.10d' $'1'
|
||
|
testprintfint $'%.20d' $'1'
|
||
|
testprintfint $'%.d' $'.1'
|
||
|
testprintfint $'%.0d' $'.1'
|
||
|
testprintfint $'%.1d' $'.1'
|
||
|
testprintfint $'%.10d' $'.1'
|
||
|
testprintfint $'%.20d' $'.1'
|
||
|
testprintfint $'%.d' $'2147483647'
|
||
|
testprintfint $'%.0d' $'2147483647'
|
||
|
testprintfint $'%.1d' $'2147483647'
|
||
|
testprintfint $'%.10d' $'2147483647'
|
||
|
testprintfint $'%.20d' $'2147483647'
|
||
|
testprintfint $'%.d' $'.2147483648'
|
||
|
testprintfint $'%.0d' $'.2147483648'
|
||
|
testprintfint $'%.1d' $'.2147483648'
|
||
|
testprintfint $'%.10d' $'.2147483648'
|
||
|
testprintfint $'%.20d' $'.2147483648'
|
||
|
testprintfint $'%.i' $'0'
|
||
|
testprintfint $'%.0i' $'0'
|
||
|
testprintfint $'%.1i' $'0'
|
||
|
testprintfint $'%.10i' $'0'
|
||
|
testprintfint $'%.20i' $'0'
|
||
|
testprintfint $'%.i' $'1'
|
||
|
testprintfint $'%.0i' $'1'
|
||
|
testprintfint $'%.1i' $'1'
|
||
|
testprintfint $'%.10i' $'1'
|
||
|
testprintfint $'%.20i' $'1'
|
||
|
testprintfint $'%.i' $'.1'
|
||
|
testprintfint $'%.0i' $'.1'
|
||
|
testprintfint $'%.1i' $'.1'
|
||
|
testprintfint $'%.10i' $'.1'
|
||
|
testprintfint $'%.20i' $'.1'
|
||
|
testprintfint $'%.i' $'2147483647'
|
||
|
testprintfint $'%.0i' $'2147483647'
|
||
|
testprintfint $'%.1i' $'2147483647'
|
||
|
testprintfint $'%.10i' $'2147483647'
|
||
|
testprintfint $'%.20i' $'2147483647'
|
||
|
testprintfint $'%.i' $'.2147483648'
|
||
|
testprintfint $'%.0i' $'.2147483648'
|
||
|
testprintfint $'%.1i' $'.2147483648'
|
||
|
testprintfint $'%.10i' $'.2147483648'
|
||
|
testprintfint $'%.20i' $'.2147483648'
|
||
|
testprintfint $'%.u' $'0'
|
||
|
testprintfint $'%.0u' $'0'
|
||
|
testprintfint $'%.1u' $'0'
|
||
|
testprintfint $'%.10u' $'0'
|
||
|
testprintfint $'%.20u' $'0'
|
||
|
testprintfint $'%.u' $'1'
|
||
|
testprintfint $'%.0u' $'1'
|
||
|
testprintfint $'%.1u' $'1'
|
||
|
testprintfint $'%.10u' $'1'
|
||
|
testprintfint $'%.20u' $'1'
|
||
|
testprintfint $'%.u' $'2147483647'
|
||
|
testprintfint $'%.0u' $'2147483647'
|
||
|
testprintfint $'%.1u' $'2147483647'
|
||
|
testprintfint $'%.10u' $'2147483647'
|
||
|
testprintfint $'%.20u' $'2147483647'
|
||
|
testprintfint $'%.x' $'0'
|
||
|
testprintfint $'%.0x' $'0'
|
||
|
testprintfint $'%.1x' $'0'
|
||
|
testprintfint $'%.10x' $'0'
|
||
|
testprintfint $'%.20x' $'0'
|
||
|
testprintfint $'%.x' $'1'
|
||
|
testprintfint $'%.0x' $'1'
|
||
|
testprintfint $'%.1x' $'1'
|
||
|
testprintfint $'%.10x' $'1'
|
||
|
testprintfint $'%.20x' $'1'
|
||
|
testprintfint $'%.x' $'2147483647'
|
||
|
testprintfint $'%.0x' $'2147483647'
|
||
|
testprintfint $'%.1x' $'2147483647'
|
||
|
testprintfint $'%.10x' $'2147483647'
|
||
|
testprintfint $'%.20x' $'2147483647'
|
||
|
testprintfint $'%.X' $'0'
|
||
|
testprintfint $'%.0X' $'0'
|
||
|
testprintfint $'%.1X' $'0'
|
||
|
testprintfint $'%.10X' $'0'
|
||
|
testprintfint $'%.20X' $'0'
|
||
|
testprintfint $'%.X' $'1'
|
||
|
testprintfint $'%.0X' $'1'
|
||
|
testprintfint $'%.1X' $'1'
|
||
|
testprintfint $'%.10X' $'1'
|
||
|
testprintfint $'%.20X' $'1'
|
||
|
testprintfint $'%.X' $'2147483647'
|
||
|
testprintfint $'%.0X' $'2147483647'
|
||
|
testprintfint $'%.1X' $'2147483647'
|
||
|
testprintfint $'%.10X' $'2147483647'
|
||
|
testprintfint $'%.20X' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_bonus Flag '#'
|
||
|
printf "\e[1;36mTesting Bonus Flag "'#'" \e[0;00m"
|
||
|
testprintfchar $'%#c' $'a'
|
||
|
testprintfstring $'%#s' $'a'
|
||
|
testprintfstring $'%#s' $'Hallo'
|
||
|
testprintfpointer $'%#p' $'1'
|
||
|
testprintfint $'%#d' $'0'
|
||
|
testprintfint $'%#d' $'1'
|
||
|
testprintfint $'%#d' $'-1'
|
||
|
testprintfint $'%#d' $'2147483647'
|
||
|
testprintfint $'%#d' $'-2147483648'
|
||
|
testprintfint $'%#i' $'0'
|
||
|
testprintfint $'%#i' $'1'
|
||
|
testprintfint $'%#i' $'-1'
|
||
|
testprintfint $'%#i' $'2147483647'
|
||
|
testprintfint $'%#i' $'-2147483648'
|
||
|
testprintfint $'%#u' $'0'
|
||
|
testprintfint $'%#u' $'1'
|
||
|
testprintfint $'%#u' $'2147483647'
|
||
|
testprintfint $'%#x' $'0'
|
||
|
testprintfint $'%#x' $'1'
|
||
|
testprintfint $'%#x' $'2147483647'
|
||
|
testprintfint $'%#X' $'0'
|
||
|
testprintfint $'%#X' $'1'
|
||
|
testprintfint $'%#X' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_bonus Flag ' '
|
||
|
printf "\e[1;36mTesting Bonus Flag "' '" \e[0;00m"
|
||
|
testprintfchar $'% c' $'a'
|
||
|
testprintfstring $'% s' $'a'
|
||
|
testprintfstring $'% s' $'Hallo'
|
||
|
testprintfpointer $'% p' $'1'
|
||
|
testprintfint $'% d' $'0'
|
||
|
testprintfint $'% d' $'1'
|
||
|
testprintfint $'% d' $'-1'
|
||
|
testprintfint $'% d' $'2147483647'
|
||
|
testprintfint $'% d' $'-2147483648'
|
||
|
testprintfint $'% i' $'0'
|
||
|
testprintfint $'% i' $'1'
|
||
|
testprintfint $'% i' $'-1'
|
||
|
testprintfint $'% i' $'2147483647'
|
||
|
testprintfint $'% i' $'-2147483648'
|
||
|
testprintfint $'% u' $'0'
|
||
|
testprintfint $'% u' $'1'
|
||
|
testprintfint $'% u' $'2147483647'
|
||
|
testprintfint $'% x' $'0'
|
||
|
testprintfint $'% x' $'1'
|
||
|
testprintfint $'% x' $'2147483647'
|
||
|
testprintfint $'% X' $'0'
|
||
|
testprintfint $'% X' $'1'
|
||
|
testprintfint $'% X' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_bonus Flag '+'
|
||
|
printf "\e[1;36mTesting Bonus Flag "'+'" \e[0;00m"
|
||
|
testprintfchar $'%+c' $'a'
|
||
|
testprintfstring $'%+s' $'a'
|
||
|
testprintfstring $'%+s' $'Hallo'
|
||
|
testprintfpointer $'%+p' $'1'
|
||
|
testprintfint $'%+d' $'0'
|
||
|
testprintfint $'%+d' $'1'
|
||
|
testprintfint $'%+d' $'-1'
|
||
|
testprintfint $'%+d' $'2147483647'
|
||
|
testprintfint $'%+d' $'-2147483648'
|
||
|
testprintfint $'%+i' $'0'
|
||
|
testprintfint $'%+i' $'1'
|
||
|
testprintfint $'%+i' $'-1'
|
||
|
testprintfint $'%+i' $'2147483647'
|
||
|
testprintfint $'%+i' $'-2147483648'
|
||
|
testprintfint $'%+u' $'0'
|
||
|
testprintfint $'%+u' $'1'
|
||
|
testprintfint $'%+u' $'2147483647'
|
||
|
testprintfint $'%+x' $'0'
|
||
|
testprintfint $'%+x' $'1'
|
||
|
testprintfint $'%+x' $'2147483647'
|
||
|
testprintfint $'%+X' $'0'
|
||
|
testprintfint $'%+X' $'1'
|
||
|
testprintfint $'%+X' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_bonus Flag Combinations
|
||
|
printf "\e[1;36mTesting Bonus Flags Combinations \e[0;00m"
|
||
|
testprintfchar $'%0-.c' $'1'
|
||
|
testprintfchar $'%-.c' $'1'
|
||
|
testprintfchar $'%0.c' $'1'
|
||
|
testprintfchar $'%0-c' $'1'
|
||
|
testprintfchar $'%0-.2c' $'1'
|
||
|
testprintfchar $'%0-2.c' $'1'
|
||
|
testprintfchar $'%-.2c' $'1'
|
||
|
testprintfchar $'%0.2c' $'1'
|
||
|
testprintfchar $'%0-2c' $'1'
|
||
|
testprintfchar $'%-2.c' $'1'
|
||
|
testprintfchar $'%02.c' $'1'
|
||
|
testprintfchar $'%0-2.2c' $'1'
|
||
|
testprintfchar $'%-2.2c' $'1'
|
||
|
testprintfchar $'%02.2c' $'1'
|
||
|
testprintfchar $'%-4.2c' $'1'
|
||
|
testprintfchar $'%04.2c' $'1'
|
||
|
testprintfchar $'%-2.4c' $'1'
|
||
|
testprintfchar $'%02.4c' $'1'
|
||
|
testprintfstring $'%0-.s' $'a'
|
||
|
testprintfstring $'%-.s' $'a'
|
||
|
testprintfstring $'%0.s' $'a'
|
||
|
testprintfstring $'%0-s' $'a'
|
||
|
testprintfstring $'%0-.2s' $'a'
|
||
|
testprintfstring $'%0-2.s' $'a'
|
||
|
testprintfstring $'%-.2s' $'a'
|
||
|
testprintfstring $'%0.2s' $'a'
|
||
|
testprintfstring $'%0-2s' $'a'
|
||
|
testprintfstring $'%-2.s' $'a'
|
||
|
testprintfstring $'%02.s' $'a'
|
||
|
testprintfstring $'%0-2.2s' $'a'
|
||
|
testprintfstring $'%-2.2s' $'a'
|
||
|
testprintfstring $'%02.2s' $'a'
|
||
|
testprintfstring $'%-4.2s' $'a'
|
||
|
testprintfstring $'%04.2s' $'a'
|
||
|
testprintfstring $'%-2.4s' $'a'
|
||
|
testprintfstring $'%02.4s' $'a'
|
||
|
testprintfstring $'%0-.s' $'Hallo'
|
||
|
testprintfstring $'%-.s' $'Hallo'
|
||
|
testprintfstring $'%0.s' $'Hallo'
|
||
|
testprintfstring $'%0-s' $'Hallo'
|
||
|
testprintfstring $'%0-.2s' $'Hallo'
|
||
|
testprintfstring $'%0-2.s' $'Hallo'
|
||
|
testprintfstring $'%-.2s' $'Hallo'
|
||
|
testprintfstring $'%0.2s' $'Hallo'
|
||
|
testprintfstring $'%0-2s' $'Hallo'
|
||
|
testprintfstring $'%-2.s' $'Hallo'
|
||
|
testprintfstring $'%02.s' $'Hallo'
|
||
|
testprintfstring $'%0-2.2s' $'Hallo'
|
||
|
testprintfstring $'%-2.2s' $'Hallo'
|
||
|
testprintfstring $'%02.2s' $'Hallo'
|
||
|
testprintfstring $'%-4.2s' $'Hallo'
|
||
|
testprintfstring $'%04.2s' $'Hallo'
|
||
|
testprintfstring $'%-2.4s' $'Hallo'
|
||
|
testprintfstring $'%02.4s' $'Hallo'
|
||
|
testprintfpointer $'%0-.p' $'Hallo'
|
||
|
testprintfpointer $'%-.p' $'Hallo'
|
||
|
testprintfpointer $'%0.p' $'Hallo'
|
||
|
testprintfpointer $'%0-p' $'Hallo'
|
||
|
testprintfpointer $'%0-.2p' $'Hallo'
|
||
|
testprintfpointer $'%0-2.p' $'Hallo'
|
||
|
testprintfpointer $'%-.2p' $'Hallo'
|
||
|
testprintfpointer $'%0.2p' $'Hallo'
|
||
|
testprintfpointer $'%0-2p' $'Hallo'
|
||
|
testprintfpointer $'%-2.p' $'Hallo'
|
||
|
testprintfpointer $'%02.p' $'Hallo'
|
||
|
testprintfpointer $'%0-2.2p' $'Hallo'
|
||
|
testprintfpointer $'%-2.2p' $'Hallo'
|
||
|
testprintfpointer $'%02.2p' $'Hallo'
|
||
|
testprintfpointer $'%-4.2p' $'Hallo'
|
||
|
testprintfpointer $'%04.2p' $'Hallo'
|
||
|
testprintfpointer $'%-2.4p' $'Hallo'
|
||
|
testprintfpointer $'%02.4p' $'Hallo'
|
||
|
testprintfint $'%0-.d' $'0'
|
||
|
testprintfint $'%-.d' $'0'
|
||
|
testprintfint $'%0.d' $'0'
|
||
|
testprintfint $'%0-d' $'0'
|
||
|
testprintfint $'%0-.2d' $'0'
|
||
|
testprintfint $'%0-2.d' $'0'
|
||
|
testprintfint $'%-.2d' $'0'
|
||
|
testprintfint $'%0.2d' $'0'
|
||
|
testprintfint $'%0-2d' $'0'
|
||
|
testprintfint $'%-2.d' $'0'
|
||
|
testprintfint $'%02.d' $'0'
|
||
|
testprintfint $'%0-2.2d' $'0'
|
||
|
testprintfint $'%-2.2d' $'0'
|
||
|
testprintfint $'%02.2d' $'0'
|
||
|
testprintfint $'%-4.2d' $'0'
|
||
|
testprintfint $'%04.2d' $'0'
|
||
|
testprintfint $'%-2.4d' $'0'
|
||
|
testprintfint $'%02.4d' $'0'
|
||
|
testprintfint $'%0-.d' $'1'
|
||
|
testprintfint $'%-.d' $'1'
|
||
|
testprintfint $'%0.d' $'1'
|
||
|
testprintfint $'%0-d' $'1'
|
||
|
testprintfint $'%0-.2d' $'1'
|
||
|
testprintfint $'%0-2.d' $'1'
|
||
|
testprintfint $'%-.2d' $'1'
|
||
|
testprintfint $'%0.2d' $'1'
|
||
|
testprintfint $'%0-2d' $'1'
|
||
|
testprintfint $'%-2.d' $'1'
|
||
|
testprintfint $'%02.d' $'1'
|
||
|
testprintfint $'%0-2.2d' $'1'
|
||
|
testprintfint $'%-2.2d' $'1'
|
||
|
testprintfint $'%02.2d' $'1'
|
||
|
testprintfint $'%-4.2d' $'1'
|
||
|
testprintfint $'%04.2d' $'1'
|
||
|
testprintfint $'%-2.4d' $'1'
|
||
|
testprintfint $'%02.4d' $'1'
|
||
|
testprintfint $'%0-.d' $'-1'
|
||
|
testprintfint $'%-.d' $'-1'
|
||
|
testprintfint $'%0.d' $'-1'
|
||
|
testprintfint $'%0-d' $'-1'
|
||
|
testprintfint $'%0-.2d' $'-1'
|
||
|
testprintfint $'%0-2.d' $'-1'
|
||
|
testprintfint $'%-.2d' $'-1'
|
||
|
testprintfint $'%0.2d' $'-1'
|
||
|
testprintfint $'%0-2d' $'-1'
|
||
|
testprintfint $'%-2.d' $'-1'
|
||
|
testprintfint $'%02.d' $'-1'
|
||
|
testprintfint $'%0-2.2d' $'-1'
|
||
|
testprintfint $'%-2.2d' $'-1'
|
||
|
testprintfint $'%02.2d' $'-1'
|
||
|
testprintfint $'%-4.2d' $'-1'
|
||
|
testprintfint $'%04.2d' $'-1'
|
||
|
testprintfint $'%-2.4d' $'-1'
|
||
|
testprintfint $'%02.4d' $'-1'
|
||
|
testprintfint $'%0-.d' $'2147483647'
|
||
|
testprintfint $'%-.d' $'2147483647'
|
||
|
testprintfint $'%0.d' $'2147483647'
|
||
|
testprintfint $'%0-d' $'2147483647'
|
||
|
testprintfint $'%0-.2d' $'2147483647'
|
||
|
testprintfint $'%0-2.d' $'2147483647'
|
||
|
testprintfint $'%-.2d' $'2147483647'
|
||
|
testprintfint $'%0.2d' $'2147483647'
|
||
|
testprintfint $'%0-2d' $'2147483647'
|
||
|
testprintfint $'%-2.d' $'2147483647'
|
||
|
testprintfint $'%02.d' $'2147483647'
|
||
|
testprintfint $'%0-2.2d' $'2147483647'
|
||
|
testprintfint $'%-2.2d' $'2147483647'
|
||
|
testprintfint $'%02.2d' $'2147483647'
|
||
|
testprintfint $'%-4.2d' $'2147483647'
|
||
|
testprintfint $'%04.2d' $'2147483647'
|
||
|
testprintfint $'%-2.4d' $'2147483647'
|
||
|
testprintfint $'%02.4d' $'2147483647'
|
||
|
testprintfint $'%0-.d' $'-214783648'
|
||
|
testprintfint $'%-.d' $'-2147483648'
|
||
|
testprintfint $'%0.d' $'-2147483648'
|
||
|
testprintfint $'%0-d' $'-2147483648'
|
||
|
testprintfint $'%0-.2d' $'-2147483648'
|
||
|
testprintfint $'%0-2.d' $'-2147483648'
|
||
|
testprintfint $'%-.2d' $'-2147483648'
|
||
|
testprintfint $'%0.2d' $'-2147483648'
|
||
|
testprintfint $'%0-2d' $'-2147483648'
|
||
|
testprintfint $'%-2.d' $'-2147483648'
|
||
|
testprintfint $'%02.d' $'-2147483648'
|
||
|
testprintfint $'%0-2.2d' $'-2147483648'
|
||
|
testprintfint $'%-2.2d' $'-2147483648'
|
||
|
testprintfint $'%02.2d' $'-2147483648'
|
||
|
testprintfint $'%-4.2d' $'-2147483648'
|
||
|
testprintfint $'%04.2d' $'-2147483648'
|
||
|
testprintfint $'%-2.4d' $'-2147483648'
|
||
|
testprintfint $'%02.4d' $'-2147483648'
|
||
|
testprintfint $'%0-.i' $'0'
|
||
|
testprintfint $'%-.i' $'0'
|
||
|
testprintfint $'%0.i' $'0'
|
||
|
testprintfint $'%0-i' $'0'
|
||
|
testprintfint $'%0-.2i' $'0'
|
||
|
testprintfint $'%0-2.i' $'0'
|
||
|
testprintfint $'%-.2i' $'0'
|
||
|
testprintfint $'%0.2i' $'0'
|
||
|
testprintfint $'%0-2i' $'0'
|
||
|
testprintfint $'%-2.i' $'0'
|
||
|
testprintfint $'%02.i' $'0'
|
||
|
testprintfint $'%0-2.2i' $'0'
|
||
|
testprintfint $'%-2.2i' $'0'
|
||
|
testprintfint $'%02.2i' $'0'
|
||
|
testprintfint $'%-4.2i' $'0'
|
||
|
testprintfint $'%04.2i' $'0'
|
||
|
testprintfint $'%-2.4i' $'0'
|
||
|
testprintfint $'%02.4i' $'0'
|
||
|
testprintfint $'%0-.i' $'1'
|
||
|
testprintfint $'%-.i' $'1'
|
||
|
testprintfint $'%0.i' $'1'
|
||
|
testprintfint $'%0-i' $'1'
|
||
|
testprintfint $'%0-.2i' $'1'
|
||
|
testprintfint $'%0-2.i' $'1'
|
||
|
testprintfint $'%-.2i' $'1'
|
||
|
testprintfint $'%0.2i' $'1'
|
||
|
testprintfint $'%0-2i' $'1'
|
||
|
testprintfint $'%-2.i' $'1'
|
||
|
testprintfint $'%02.i' $'1'
|
||
|
testprintfint $'%0-2.2i' $'1'
|
||
|
testprintfint $'%-2.2i' $'1'
|
||
|
testprintfint $'%02.2i' $'1'
|
||
|
testprintfint $'%-4.2i' $'1'
|
||
|
testprintfint $'%04.2i' $'1'
|
||
|
testprintfint $'%-2.4i' $'1'
|
||
|
testprintfint $'%02.4i' $'1'
|
||
|
testprintfint $'%0-.i' $'-1'
|
||
|
testprintfint $'%-.i' $'-1'
|
||
|
testprintfint $'%0.i' $'-1'
|
||
|
testprintfint $'%0-i' $'-1'
|
||
|
testprintfint $'%0-.2i' $'-1'
|
||
|
testprintfint $'%0-2.i' $'-1'
|
||
|
testprintfint $'%-.2i' $'-1'
|
||
|
testprintfint $'%0.2i' $'-1'
|
||
|
testprintfint $'%0-2i' $'-1'
|
||
|
testprintfint $'%-2.i' $'-1'
|
||
|
testprintfint $'%02.i' $'-1'
|
||
|
testprintfint $'%0-2.2i' $'-1'
|
||
|
testprintfint $'%-2.2i' $'-1'
|
||
|
testprintfint $'%02.2i' $'-1'
|
||
|
testprintfint $'%-4.2i' $'-1'
|
||
|
testprintfint $'%04.2i' $'-1'
|
||
|
testprintfint $'%-2.4i' $'-1'
|
||
|
testprintfint $'%02.4i' $'-1'
|
||
|
testprintfint $'%0-.i' $'2147483647'
|
||
|
testprintfint $'%-.i' $'2147483647'
|
||
|
testprintfint $'%0.i' $'2147483647'
|
||
|
testprintfint $'%0-i' $'2147483647'
|
||
|
testprintfint $'%0-.2i' $'2147483647'
|
||
|
testprintfint $'%0-2.i' $'2147483647'
|
||
|
testprintfint $'%-.2i' $'2147483647'
|
||
|
testprintfint $'%0.2i' $'2147483647'
|
||
|
testprintfint $'%0-2i' $'2147483647'
|
||
|
testprintfint $'%-2.i' $'2147483647'
|
||
|
testprintfint $'%02.i' $'2147483647'
|
||
|
testprintfint $'%0-2.2i' $'2147483647'
|
||
|
testprintfint $'%-2.2i' $'2147483647'
|
||
|
testprintfint $'%02.2i' $'2147483647'
|
||
|
testprintfint $'%-4.2i' $'2147483647'
|
||
|
testprintfint $'%04.2i' $'2147483647'
|
||
|
testprintfint $'%-2.4i' $'2147483647'
|
||
|
testprintfint $'%02.4i' $'2147483647'
|
||
|
testprintfint $'%0-.i' $'-2147483648'
|
||
|
testprintfint $'%-.i' $'-2147483648'
|
||
|
testprintfint $'%0.i' $'-2147483648'
|
||
|
testprintfint $'%0-i' $'-2147483648'
|
||
|
testprintfint $'%0-.2i' $'-2147483648'
|
||
|
testprintfint $'%0-2.i' $'-2147483648'
|
||
|
testprintfint $'%-.2i' $'-2147483648'
|
||
|
testprintfint $'%0.2i' $'-2147483648'
|
||
|
testprintfint $'%0-2i' $'-2147483648'
|
||
|
testprintfint $'%-2.i' $'-2147483648'
|
||
|
testprintfint $'%02.i' $'-2147483648'
|
||
|
testprintfint $'%0-2.2i' $'-2147483648'
|
||
|
testprintfint $'%-2.2i' $'-2147483648'
|
||
|
testprintfint $'%02.2i' $'-2147483648'
|
||
|
testprintfint $'%-4.2i' $'-2147483648'
|
||
|
testprintfint $'%04.2i' $'-2147483648'
|
||
|
testprintfint $'%-2.4i' $'-2147483648'
|
||
|
testprintfint $'%02.4i' $'-2147483648'
|
||
|
testprintfint $'%0-.u' $'0'
|
||
|
testprintfint $'%-.u' $'0'
|
||
|
testprintfint $'%0.u' $'0'
|
||
|
testprintfint $'%0-u' $'0'
|
||
|
testprintfint $'%0-.2u' $'0'
|
||
|
testprintfint $'%0-2.u' $'0'
|
||
|
testprintfint $'%-.2u' $'0'
|
||
|
testprintfint $'%0.2u' $'0'
|
||
|
testprintfint $'%0-2u' $'0'
|
||
|
testprintfint $'%-2.u' $'0'
|
||
|
testprintfint $'%02.u' $'0'
|
||
|
testprintfint $'%0-2.2u' $'0'
|
||
|
testprintfint $'%-2.2u' $'0'
|
||
|
testprintfint $'%02.2u' $'0'
|
||
|
testprintfint $'%-4.2u' $'0'
|
||
|
testprintfint $'%04.2u' $'0'
|
||
|
testprintfint $'%-2.4u' $'0'
|
||
|
testprintfint $'%02.4u' $'0'
|
||
|
testprintfint $'%0-.u' $'1'
|
||
|
testprintfint $'%-.u' $'1'
|
||
|
testprintfint $'%0.u' $'1'
|
||
|
testprintfint $'%0-u' $'1'
|
||
|
testprintfint $'%0-.2u' $'1'
|
||
|
testprintfint $'%0-2.u' $'1'
|
||
|
testprintfint $'%-.2u' $'1'
|
||
|
testprintfint $'%0.2u' $'1'
|
||
|
testprintfint $'%0-2u' $'1'
|
||
|
testprintfint $'%-2.u' $'1'
|
||
|
testprintfint $'%02.u' $'1'
|
||
|
testprintfint $'%0-2.2u' $'1'
|
||
|
testprintfint $'%-2.2u' $'1'
|
||
|
testprintfint $'%02.2u' $'1'
|
||
|
testprintfint $'%-4.2u' $'1'
|
||
|
testprintfint $'%04.2u' $'1'
|
||
|
testprintfint $'%-2.4u' $'1'
|
||
|
testprintfint $'%02.4u' $'1'
|
||
|
testprintfint $'%0-.u' $'2147483647'
|
||
|
testprintfint $'%-.u' $'2147483647'
|
||
|
testprintfint $'%0.u' $'2147483647'
|
||
|
testprintfint $'%0-u' $'2147483647'
|
||
|
testprintfint $'%0-.2u' $'2147483647'
|
||
|
testprintfint $'%0-2.u' $'2147483647'
|
||
|
testprintfint $'%-.2u' $'2147483647'
|
||
|
testprintfint $'%0.2u' $'2147483647'
|
||
|
testprintfint $'%0-2u' $'2147483647'
|
||
|
testprintfint $'%-2.u' $'2147483647'
|
||
|
testprintfint $'%02.u' $'2147483647'
|
||
|
testprintfint $'%0-2.2u' $'2147483647'
|
||
|
testprintfint $'%-2.2u' $'2147483647'
|
||
|
testprintfint $'%02.2u' $'2147483647'
|
||
|
testprintfint $'%-4.2u' $'2147483647'
|
||
|
testprintfint $'%04.2u' $'2147483647'
|
||
|
testprintfint $'%-2.4u' $'2147483647'
|
||
|
testprintfint $'%02.4u' $'2147483647'
|
||
|
testprintfint $'%0-.x' $'0'
|
||
|
testprintfint $'%-.x' $'0'
|
||
|
testprintfint $'%0.x' $'0'
|
||
|
testprintfint $'%0-x' $'0'
|
||
|
testprintfint $'%0-.2x' $'0'
|
||
|
testprintfint $'%0-2.x' $'0'
|
||
|
testprintfint $'%-.2x' $'0'
|
||
|
testprintfint $'%0.2x' $'0'
|
||
|
testprintfint $'%0-2x' $'0'
|
||
|
testprintfint $'%-2.x' $'0'
|
||
|
testprintfint $'%02.x' $'0'
|
||
|
testprintfint $'%0-2.2x' $'0'
|
||
|
testprintfint $'%-2.2x' $'0'
|
||
|
testprintfint $'%02.2x' $'0'
|
||
|
testprintfint $'%-4.2x' $'0'
|
||
|
testprintfint $'%04.2x' $'0'
|
||
|
testprintfint $'%-2.4x' $'0'
|
||
|
testprintfint $'%02.4x' $'0'
|
||
|
testprintfint $'%0-.x' $'1'
|
||
|
testprintfint $'%-.x' $'1'
|
||
|
testprintfint $'%0.x' $'1'
|
||
|
testprintfint $'%0-x' $'1'
|
||
|
testprintfint $'%0-.2x' $'1'
|
||
|
testprintfint $'%0-2.x' $'1'
|
||
|
testprintfint $'%-.2x' $'1'
|
||
|
testprintfint $'%0.2x' $'1'
|
||
|
testprintfint $'%0-2x' $'1'
|
||
|
testprintfint $'%-2.x' $'1'
|
||
|
testprintfint $'%02.x' $'1'
|
||
|
testprintfint $'%0-2.2x' $'1'
|
||
|
testprintfint $'%-2.2x' $'1'
|
||
|
testprintfint $'%02.2x' $'1'
|
||
|
testprintfint $'%-4.2x' $'1'
|
||
|
testprintfint $'%04.2x' $'1'
|
||
|
testprintfint $'%-2.4x' $'1'
|
||
|
testprintfint $'%02.4x' $'1'
|
||
|
testprintfint $'%0-.x' $'2147483647'
|
||
|
testprintfint $'%-.x' $'2147483647'
|
||
|
testprintfint $'%0.x' $'2147483647'
|
||
|
testprintfint $'%0-x' $'2147483647'
|
||
|
testprintfint $'%0-.2x' $'2147483647'
|
||
|
testprintfint $'%0-2.x' $'2147483647'
|
||
|
testprintfint $'%-.2x' $'2147483647'
|
||
|
testprintfint $'%0.2x' $'2147483647'
|
||
|
testprintfint $'%0-2x' $'2147483647'
|
||
|
testprintfint $'%-2.x' $'2147483647'
|
||
|
testprintfint $'%02.x' $'2147483647'
|
||
|
testprintfint $'%0-2.2x' $'2147483647'
|
||
|
testprintfint $'%-2.2x' $'2147483647'
|
||
|
testprintfint $'%02.2x' $'2147483647'
|
||
|
testprintfint $'%-4.2x' $'2147483647'
|
||
|
testprintfint $'%04.2x' $'2147483647'
|
||
|
testprintfint $'%-2.4x' $'2147483647'
|
||
|
testprintfint $'%02.4x' $'2147483647'
|
||
|
testprintfint $'%0-.X' $'0'
|
||
|
testprintfint $'%-.X' $'0'
|
||
|
testprintfint $'%0.X' $'0'
|
||
|
testprintfint $'%0-X' $'0'
|
||
|
testprintfint $'%0-.2X' $'0'
|
||
|
testprintfint $'%0-2.X' $'0'
|
||
|
testprintfint $'%-.2X' $'0'
|
||
|
testprintfint $'%0.2X' $'0'
|
||
|
testprintfint $'%0-2X' $'0'
|
||
|
testprintfint $'%-2.X' $'0'
|
||
|
testprintfint $'%02.X' $'0'
|
||
|
testprintfint $'%0-2.2X' $'0'
|
||
|
testprintfint $'%-2.2X' $'0'
|
||
|
testprintfint $'%02.2X' $'0'
|
||
|
testprintfint $'%-4.2X' $'0'
|
||
|
testprintfint $'%04.2X' $'0'
|
||
|
testprintfint $'%-2.4X' $'0'
|
||
|
testprintfint $'%02.4X' $'0'
|
||
|
testprintfint $'%0-.X' $'1'
|
||
|
testprintfint $'%-.X' $'1'
|
||
|
testprintfint $'%0.X' $'1'
|
||
|
testprintfint $'%0-X' $'1'
|
||
|
testprintfint $'%0-.2X' $'1'
|
||
|
testprintfint $'%0-2.X' $'1'
|
||
|
testprintfint $'%-.2X' $'1'
|
||
|
testprintfint $'%0.2X' $'1'
|
||
|
testprintfint $'%0-2X' $'1'
|
||
|
testprintfint $'%-2.X' $'1'
|
||
|
testprintfint $'%02.X' $'1'
|
||
|
testprintfint $'%0-2.2X' $'1'
|
||
|
testprintfint $'%-2.2X' $'1'
|
||
|
testprintfint $'%02.2X' $'1'
|
||
|
testprintfint $'%-4.2X' $'1'
|
||
|
testprintfint $'%04.2X' $'1'
|
||
|
testprintfint $'%-2.4X' $'1'
|
||
|
testprintfint $'%02.4X' $'1'
|
||
|
testprintfint $'%0-.X' $'2147483647'
|
||
|
testprintfint $'%-.X' $'2147483647'
|
||
|
testprintfint $'%0.X' $'2147483647'
|
||
|
testprintfint $'%0-X' $'2147483647'
|
||
|
testprintfint $'%0-.2X' $'2147483647'
|
||
|
testprintfint $'%0-2.X' $'2147483647'
|
||
|
testprintfint $'%-.2X' $'2147483647'
|
||
|
testprintfint $'%0.2X' $'2147483647'
|
||
|
testprintfint $'%0-2X' $'2147483647'
|
||
|
testprintfint $'%-2.X' $'2147483647'
|
||
|
testprintfint $'%02.X' $'2147483647'
|
||
|
testprintfint $'%0-2.2X' $'2147483647'
|
||
|
testprintfint $'%-2.2X' $'2147483647'
|
||
|
testprintfint $'%02.2X' $'2147483647'
|
||
|
testprintfint $'%-4.2X' $'2147483647'
|
||
|
testprintfint $'%04.2X' $'2147483647'
|
||
|
testprintfint $'%-2.4X' $'2147483647'
|
||
|
testprintfint $'%02.4X' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
BFAULTS=$FAULTS
|
||
|
BTOTAL=$TOTAL
|
||
|
TOTAL=$(($MTOTAL+$BTOTAL))
|
||
|
FAULTS=$(($MFAULTS+$BFAULTS))
|
||
|
RIGHT=$(($TOTAL-$FAULTS))
|
||
|
BRIGHT=$(($BTOTAL-$BFAULTS))
|
||
|
|
||
|
if [ $LEVEL -lt 2 ]
|
||
|
then
|
||
|
printf "\e[1;31mYou can go a bit higher and aim for the old mandatory subject, it will give you variables in your printf string\e[0;00m\n"
|
||
|
if [ $FAULTS -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;35mBut out of \e[1;36m$TOTAL tests\e[0;35m we got \e[1;32mno errors\e[1;35m, Congratulations\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 0
|
||
|
else
|
||
|
if [ $MFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$MTOTAL tests \e[0;00mwe got \e[1;32m$MRIGHT OKs \e[0;00mand \e[1;31m$MFAULTS KOs \e[0;00min the \e[1;35mMandatory \e[0;00mpart So that really sucks\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$MTOTAL tests \e[1;32min the Mandatory part which is a good start\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $BFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$BTOTAL tests \e[0;00mwe got \e[1;32m$BRIGHT OKs \e[0;00mand \e[1;31m$BFAULTS KOs \e[0;00min the \e[1;35mBonus \e[0;00mpart So that's a bummer\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$BTOTAL tests \e[1;32min the Bonus part which is OK\e[0;00m\n"
|
||
|
fi
|
||
|
printf "\e[0;00mOut of \e[1;36m$TOTAL tests \e[0;00mwe got \e[1;32m$RIGHT OKs \e[0;00mand \e[1;31m$FAULTS KOs\e[0;00m... You can be your own judge\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 1
|
||
|
fi
|
||
|
fi
|
||
|
printf "\e[1;32mOK\e[0;00m"
|
||
|
printf "\n"
|
||
|
|
||
|
FAULTS=0
|
||
|
TOTAL=0
|
||
|
|
||
|
# ft_old_mandatory Flag '1-9'
|
||
|
printf "\e[1;36mTesting Old Mandatory Flag "'1-9'" \e[0;00m"
|
||
|
testprintfchar $'%1c' $'a'
|
||
|
testprintfchar $'%2c' $'a'
|
||
|
testprintfchar $'%5c' $'a'
|
||
|
testprintfchar $'%8c' $'a'
|
||
|
testprintfchar $'%22c' $'a'
|
||
|
testprintfstring $'%1s' $'1'
|
||
|
testprintfstring $'%2s' $'1'
|
||
|
testprintfstring $'%5s' $'1'
|
||
|
testprintfstring $'%8s' $'1'
|
||
|
testprintfstring $'%22s' $'1'
|
||
|
testprintfstring $'%1s' $'Hallo'
|
||
|
testprintfstring $'%2s' $'Hallo'
|
||
|
testprintfstring $'%5s' $'Hallo'
|
||
|
testprintfstring $'%8s' $'Hallo'
|
||
|
testprintfstring $'%22s' $'Hallo'
|
||
|
testprintfpointer $'%1p' $'1'
|
||
|
testprintfpointer $'%2p' $'1'
|
||
|
testprintfpointer $'%5p' $'1'
|
||
|
testprintfpointer $'%8p' $'1'
|
||
|
testprintfint $'%1d' $'0'
|
||
|
testprintfint $'%1d' $'1'
|
||
|
testprintfint $'%1d' $'-1'
|
||
|
testprintfint $'%1d' $'2147483647'
|
||
|
testprintfint $'%1d' $'-2147483648'
|
||
|
testprintfint $'%2d' $'0'
|
||
|
testprintfint $'%2d' $'1'
|
||
|
testprintfint $'%2d' $'-1'
|
||
|
testprintfint $'%2d' $'2147483647'
|
||
|
testprintfint $'%2d' $'-2147483648'
|
||
|
testprintfint $'%5d' $'0'
|
||
|
testprintfint $'%5d' $'1'
|
||
|
testprintfint $'%5d' $'-1'
|
||
|
testprintfint $'%5d' $'2147483647'
|
||
|
testprintfint $'%5d' $'-2147483648'
|
||
|
testprintfint $'%8d' $'0'
|
||
|
testprintfint $'%8d' $'1'
|
||
|
testprintfint $'%8d' $'-1'
|
||
|
testprintfint $'%8d' $'2147483647'
|
||
|
testprintfint $'%8d' $'-2147483648'
|
||
|
testprintfint $'%22d' $'0'
|
||
|
testprintfint $'%22d' $'1'
|
||
|
testprintfint $'%22d' $'-1'
|
||
|
testprintfint $'%22d' $'2147483647'
|
||
|
testprintfint $'%22d' $'-2147483648'
|
||
|
testprintfint $'%1i' $'0'
|
||
|
testprintfint $'%1i' $'1'
|
||
|
testprintfint $'%1i' $'-1'
|
||
|
testprintfint $'%1i' $'2147483647'
|
||
|
testprintfint $'%1i' $'-2147483648'
|
||
|
testprintfint $'%2i' $'0'
|
||
|
testprintfint $'%2i' $'1'
|
||
|
testprintfint $'%2i' $'-1'
|
||
|
testprintfint $'%2i' $'2147483647'
|
||
|
testprintfint $'%2i' $'-2147483648'
|
||
|
testprintfint $'%5i' $'0'
|
||
|
testprintfint $'%5i' $'1'
|
||
|
testprintfint $'%5i' $'-1'
|
||
|
testprintfint $'%5i' $'2147483647'
|
||
|
testprintfint $'%5i' $'-2147483648'
|
||
|
testprintfint $'%8i' $'0'
|
||
|
testprintfint $'%8i' $'1'
|
||
|
testprintfint $'%8i' $'-1'
|
||
|
testprintfint $'%8i' $'2147483647'
|
||
|
testprintfint $'%8i' $'-2147483648'
|
||
|
testprintfint $'%22i' $'0'
|
||
|
testprintfint $'%22i' $'1'
|
||
|
testprintfint $'%22i' $'-1'
|
||
|
testprintfint $'%22i' $'2147483647'
|
||
|
testprintfint $'%22i' $'-2147483648'
|
||
|
testprintfint $'%1u' $'0'
|
||
|
testprintfint $'%1u' $'1'
|
||
|
testprintfint $'%1u' $'2147483647'
|
||
|
testprintfint $'%2u' $'0'
|
||
|
testprintfint $'%2u' $'1'
|
||
|
testprintfint $'%2u' $'2147483647'
|
||
|
testprintfint $'%5u' $'0'
|
||
|
testprintfint $'%5u' $'1'
|
||
|
testprintfint $'%5u' $'2147483647'
|
||
|
testprintfint $'%8u' $'0'
|
||
|
testprintfint $'%8u' $'1'
|
||
|
testprintfint $'%8u' $'2147483647'
|
||
|
testprintfint $'%22u' $'0'
|
||
|
testprintfint $'%22u' $'1'
|
||
|
testprintfint $'%22u' $'2147483647'
|
||
|
testprintfint $'%1x' $'0'
|
||
|
testprintfint $'%1x' $'1'
|
||
|
testprintfint $'%1x' $'2147483647'
|
||
|
testprintfint $'%2x' $'0'
|
||
|
testprintfint $'%2x' $'1'
|
||
|
testprintfint $'%2x' $'2147483647'
|
||
|
testprintfint $'%5x' $'0'
|
||
|
testprintfint $'%5x' $'1'
|
||
|
testprintfint $'%5x' $'2147483647'
|
||
|
testprintfint $'%8x' $'0'
|
||
|
testprintfint $'%8x' $'1'
|
||
|
testprintfint $'%8x' $'2147483647'
|
||
|
testprintfint $'%22x' $'0'
|
||
|
testprintfint $'%22x' $'1'
|
||
|
testprintfint $'%22x' $'2147483647'
|
||
|
testprintfint $'%1X' $'0'
|
||
|
testprintfint $'%1X' $'1'
|
||
|
testprintfint $'%1X' $'2147483647'
|
||
|
testprintfint $'%2X' $'0'
|
||
|
testprintfint $'%2X' $'1'
|
||
|
testprintfint $'%2X' $'2147483647'
|
||
|
testprintfint $'%5X' $'0'
|
||
|
testprintfint $'%5X' $'1'
|
||
|
testprintfint $'%5X' $'2147483647'
|
||
|
testprintfint $'%8X' $'0'
|
||
|
testprintfint $'%8X' $'1'
|
||
|
testprintfint $'%8X' $'2147483647'
|
||
|
testprintfint $'%22X' $'0'
|
||
|
testprintfint $'%22X' $'1'
|
||
|
testprintfint $'%22X' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_mandatory Flag '*'
|
||
|
printf "\e[1;36mTesting Old Mandatory Flag "'*'" \e[0;00m"
|
||
|
testprintfcharstar $'%*c' $'0' $'a'
|
||
|
testprintfcharstar $'%*c' $'1' $'a'
|
||
|
testprintfcharstar $'%*c' $'20' $'a'
|
||
|
testprintfcharstar $'%-*c' $'0' $'a'
|
||
|
testprintfcharstar $'%-*c' $'1' $'a'
|
||
|
testprintfcharstar $'%-*c' $'20' $'a'
|
||
|
testprintfcharstar $'%0*c' $'0' $'a'
|
||
|
testprintfcharstar $'%0*c' $'1' $'a'
|
||
|
testprintfcharstar $'%0*c' $'20' $'a'
|
||
|
testprintfcharstar $'%.*c' $'0' $'a'
|
||
|
testprintfcharstar $'%.*c' $'1' $'a'
|
||
|
testprintfcharstar $'%.*c' $'20' $'a'
|
||
|
testprintfstringstar $'%*s' $'0' $'a'
|
||
|
testprintfstringstar $'%*s' $'1' $'a'
|
||
|
testprintfstringstar $'%*s' $'20' $'a'
|
||
|
testprintfstringstar $'%*s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%*s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%*s' $'20' $'Hallo'
|
||
|
testprintfstringstar $'%-*s' $'0' $'a'
|
||
|
testprintfstringstar $'%-*s' $'1' $'a'
|
||
|
testprintfstringstar $'%-*s' $'20' $'a'
|
||
|
testprintfstringstar $'%-*s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%-*s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%-*s' $'20' $'Hallo'
|
||
|
testprintfstringstar $'%0*s' $'0' $'a'
|
||
|
testprintfstringstar $'%0*s' $'1' $'a'
|
||
|
testprintfstringstar $'%0*s' $'20' $'a'
|
||
|
testprintfstringstar $'%0*s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%0*s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%0*s' $'20' $'Hallo'
|
||
|
testprintfstringstar $'%.*s' $'0' $'a'
|
||
|
testprintfstringstar $'%.*s' $'1' $'a'
|
||
|
testprintfstringstar $'%.*s' $'20' $'a'
|
||
|
testprintfstringstar $'%.*s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%.*s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%.*s' $'20' $'Hallo'
|
||
|
testprintfpointerstar $'%*p' $'0' $'a'
|
||
|
testprintfpointerstar $'%*p' $'1' $'a'
|
||
|
testprintfpointerstar $'%*p' $'20' $'a'
|
||
|
testprintfpointerstar $'%*p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%*p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%*p' $'20' $'Hallo'
|
||
|
testprintfpointerstar $'%-*p' $'0' $'a'
|
||
|
testprintfpointerstar $'%-*p' $'1' $'a'
|
||
|
testprintfpointerstar $'%-*p' $'20' $'a'
|
||
|
testprintfpointerstar $'%-*p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%-*p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%-*p' $'20' $'Hallo'
|
||
|
testprintfpointerstar $'%0*p' $'0' $'a'
|
||
|
testprintfpointerstar $'%0*p' $'1' $'a'
|
||
|
testprintfpointerstar $'%0*p' $'20' $'a'
|
||
|
testprintfpointerstar $'%0*p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%0*p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%0*p' $'20' $'Hallo'
|
||
|
testprintfpointerstar $'%.*p' $'0' $'a'
|
||
|
testprintfpointerstar $'%.*p' $'1' $'a'
|
||
|
testprintfpointerstar $'%.*p' $'20' $'a'
|
||
|
testprintfpointerstar $'%.*p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%.*p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%.*p' $'20' $'Hallo'
|
||
|
testprintfintstar $'%*d' $'0' $'0'
|
||
|
testprintfintstar $'%*d' $'1' $'0'
|
||
|
testprintfintstar $'%*d' $'20' $'0'
|
||
|
testprintfintstar $'%*d' $'0' $'1'
|
||
|
testprintfintstar $'%*d' $'1' $'1'
|
||
|
testprintfintstar $'%*d' $'20' $'1'
|
||
|
testprintfintstar $'%*d' $'0' $'-1'
|
||
|
testprintfintstar $'%*d' $'1' $'-1'
|
||
|
testprintfintstar $'%*d' $'20' $'-1'
|
||
|
testprintfintstar $'%*d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*d' $'0' $'0'
|
||
|
testprintfintstar $'%-*d' $'1' $'0'
|
||
|
testprintfintstar $'%-*d' $'20' $'0'
|
||
|
testprintfintstar $'%-*d' $'0' $'1'
|
||
|
testprintfintstar $'%-*d' $'1' $'1'
|
||
|
testprintfintstar $'%-*d' $'20' $'1'
|
||
|
testprintfintstar $'%-*d' $'0' $'-1'
|
||
|
testprintfintstar $'%-*d' $'1' $'-1'
|
||
|
testprintfintstar $'%-*d' $'20' $'-1'
|
||
|
testprintfintstar $'%-*d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%-*d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*d' $'0' $'0'
|
||
|
testprintfintstar $'%0*d' $'1' $'0'
|
||
|
testprintfintstar $'%0*d' $'20' $'0'
|
||
|
testprintfintstar $'%0*d' $'0' $'1'
|
||
|
testprintfintstar $'%0*d' $'1' $'1'
|
||
|
testprintfintstar $'%0*d' $'20' $'1'
|
||
|
testprintfintstar $'%0*d' $'0' $'-1'
|
||
|
testprintfintstar $'%0*d' $'1' $'-1'
|
||
|
testprintfintstar $'%0*d' $'20' $'-1'
|
||
|
testprintfintstar $'%0*d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%.*d' $'0' $'0'
|
||
|
testprintfintstar $'%.*d' $'1' $'0'
|
||
|
testprintfintstar $'%.*d' $'20' $'0'
|
||
|
testprintfintstar $'%.*d' $'0' $'1'
|
||
|
testprintfintstar $'%.*d' $'1' $'1'
|
||
|
testprintfintstar $'%.*d' $'20' $'1'
|
||
|
testprintfintstar $'%.*d' $'0' $'-1'
|
||
|
testprintfintstar $'%.*d' $'1' $'-1'
|
||
|
testprintfintstar $'%.*d' $'20' $'-1'
|
||
|
testprintfintstar $'%.*d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%.*d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%.*d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%.*d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%.*d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%.*d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*i' $'0' $'0'
|
||
|
testprintfintstar $'%*i' $'1' $'0'
|
||
|
testprintfintstar $'%*i' $'20' $'0'
|
||
|
testprintfintstar $'%*i' $'0' $'1'
|
||
|
testprintfintstar $'%*i' $'1' $'1'
|
||
|
testprintfintstar $'%*i' $'20' $'1'
|
||
|
testprintfintstar $'%*i' $'0' $'-1'
|
||
|
testprintfintstar $'%*i' $'1' $'-1'
|
||
|
testprintfintstar $'%*i' $'20' $'-1'
|
||
|
testprintfintstar $'%*i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*i' $'0' $'0'
|
||
|
testprintfintstar $'%-*i' $'1' $'0'
|
||
|
testprintfintstar $'%-*i' $'20' $'0'
|
||
|
testprintfintstar $'%-*i' $'0' $'1'
|
||
|
testprintfintstar $'%-*i' $'1' $'1'
|
||
|
testprintfintstar $'%-*i' $'20' $'1'
|
||
|
testprintfintstar $'%-*i' $'0' $'-1'
|
||
|
testprintfintstar $'%-*i' $'1' $'-1'
|
||
|
testprintfintstar $'%-*i' $'20' $'-1'
|
||
|
testprintfintstar $'%-*i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%-*i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*i' $'0' $'0'
|
||
|
testprintfintstar $'%0*i' $'1' $'0'
|
||
|
testprintfintstar $'%0*i' $'20' $'0'
|
||
|
testprintfintstar $'%0*i' $'0' $'1'
|
||
|
testprintfintstar $'%0*i' $'1' $'1'
|
||
|
testprintfintstar $'%0*i' $'20' $'1'
|
||
|
testprintfintstar $'%0*i' $'0' $'-1'
|
||
|
testprintfintstar $'%0*i' $'1' $'-1'
|
||
|
testprintfintstar $'%0*i' $'20' $'-1'
|
||
|
testprintfintstar $'%0*i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%.*i' $'0' $'0'
|
||
|
testprintfintstar $'%.*i' $'1' $'0'
|
||
|
testprintfintstar $'%.*i' $'20' $'0'
|
||
|
testprintfintstar $'%.*i' $'0' $'1'
|
||
|
testprintfintstar $'%.*i' $'1' $'1'
|
||
|
testprintfintstar $'%.*i' $'20' $'1'
|
||
|
testprintfintstar $'%.*i' $'0' $'-1'
|
||
|
testprintfintstar $'%.*i' $'1' $'-1'
|
||
|
testprintfintstar $'%.*i' $'20' $'-1'
|
||
|
testprintfintstar $'%.*i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%.*i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%.*i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%.*i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%.*i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%.*i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*u' $'0' $'0'
|
||
|
testprintfintstar $'%*u' $'1' $'0'
|
||
|
testprintfintstar $'%*u' $'20' $'0'
|
||
|
testprintfintstar $'%*u' $'0' $'1'
|
||
|
testprintfintstar $'%*u' $'1' $'1'
|
||
|
testprintfintstar $'%*u' $'20' $'1'
|
||
|
testprintfintstar $'%*u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*u' $'0' $'0'
|
||
|
testprintfintstar $'%-*u' $'1' $'0'
|
||
|
testprintfintstar $'%-*u' $'20' $'0'
|
||
|
testprintfintstar $'%-*u' $'0' $'1'
|
||
|
testprintfintstar $'%-*u' $'1' $'1'
|
||
|
testprintfintstar $'%-*u' $'20' $'1'
|
||
|
testprintfintstar $'%-*u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*u' $'0' $'0'
|
||
|
testprintfintstar $'%0*u' $'1' $'0'
|
||
|
testprintfintstar $'%0*u' $'20' $'0'
|
||
|
testprintfintstar $'%0*u' $'0' $'1'
|
||
|
testprintfintstar $'%0*u' $'1' $'1'
|
||
|
testprintfintstar $'%0*u' $'20' $'1'
|
||
|
testprintfintstar $'%0*u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%.*u' $'0' $'0'
|
||
|
testprintfintstar $'%.*u' $'1' $'0'
|
||
|
testprintfintstar $'%.*u' $'20' $'0'
|
||
|
testprintfintstar $'%.*u' $'0' $'1'
|
||
|
testprintfintstar $'%.*u' $'1' $'1'
|
||
|
testprintfintstar $'%.*u' $'20' $'1'
|
||
|
testprintfintstar $'%.*u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%.*u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%.*u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*x' $'0' $'0'
|
||
|
testprintfintstar $'%*x' $'1' $'0'
|
||
|
testprintfintstar $'%*x' $'20' $'0'
|
||
|
testprintfintstar $'%*x' $'0' $'1'
|
||
|
testprintfintstar $'%*x' $'1' $'1'
|
||
|
testprintfintstar $'%*x' $'20' $'1'
|
||
|
testprintfintstar $'%*x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*x' $'0' $'0'
|
||
|
testprintfintstar $'%-*x' $'1' $'0'
|
||
|
testprintfintstar $'%-*x' $'20' $'0'
|
||
|
testprintfintstar $'%-*x' $'0' $'1'
|
||
|
testprintfintstar $'%-*x' $'1' $'1'
|
||
|
testprintfintstar $'%-*x' $'20' $'1'
|
||
|
testprintfintstar $'%-*x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*x' $'0' $'0'
|
||
|
testprintfintstar $'%0*x' $'1' $'0'
|
||
|
testprintfintstar $'%0*x' $'20' $'0'
|
||
|
testprintfintstar $'%0*x' $'0' $'1'
|
||
|
testprintfintstar $'%0*x' $'1' $'1'
|
||
|
testprintfintstar $'%0*x' $'20' $'1'
|
||
|
testprintfintstar $'%0*x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%.*x' $'0' $'0'
|
||
|
testprintfintstar $'%.*x' $'1' $'0'
|
||
|
testprintfintstar $'%.*x' $'20' $'0'
|
||
|
testprintfintstar $'%.*x' $'0' $'1'
|
||
|
testprintfintstar $'%.*x' $'1' $'1'
|
||
|
testprintfintstar $'%.*x' $'20' $'1'
|
||
|
testprintfintstar $'%.*x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%.*x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%.*x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*X' $'0' $'0'
|
||
|
testprintfintstar $'%*X' $'1' $'0'
|
||
|
testprintfintstar $'%*X' $'20' $'0'
|
||
|
testprintfintstar $'%*X' $'0' $'1'
|
||
|
testprintfintstar $'%*X' $'1' $'1'
|
||
|
testprintfintstar $'%*X' $'20' $'1'
|
||
|
testprintfintstar $'%*X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*X' $'0' $'0'
|
||
|
testprintfintstar $'%-*X' $'1' $'0'
|
||
|
testprintfintstar $'%-*X' $'20' $'0'
|
||
|
testprintfintstar $'%-*X' $'0' $'1'
|
||
|
testprintfintstar $'%-*X' $'1' $'1'
|
||
|
testprintfintstar $'%-*X' $'20' $'1'
|
||
|
testprintfintstar $'%-*X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*X' $'0' $'0'
|
||
|
testprintfintstar $'%0*X' $'1' $'0'
|
||
|
testprintfintstar $'%0*X' $'20' $'0'
|
||
|
testprintfintstar $'%0*X' $'0' $'1'
|
||
|
testprintfintstar $'%0*X' $'1' $'1'
|
||
|
testprintfintstar $'%0*X' $'20' $'1'
|
||
|
testprintfintstar $'%0*X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%.*X' $'0' $'0'
|
||
|
testprintfintstar $'%.*X' $'1' $'0'
|
||
|
testprintfintstar $'%.*X' $'20' $'0'
|
||
|
testprintfintstar $'%.*X' $'0' $'1'
|
||
|
testprintfintstar $'%.*X' $'1' $'1'
|
||
|
testprintfintstar $'%.*X' $'20' $'1'
|
||
|
testprintfintstar $'%.*X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%.*X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%.*X' $'20' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_mandatory Flag Combinations
|
||
|
printf "\e[1;36mTesting Old Mandatory Flag Combinations \e[0;00m"
|
||
|
testprintfchar $'%1.c' $'a'
|
||
|
testprintfchar $'%5.c' $'a'
|
||
|
testprintfchar $'%10.c' $'a'
|
||
|
testprintfcharstar $'%1.*c' $'0' $'a'
|
||
|
testprintfcharstar $'%5.*c' $'0' $'a'
|
||
|
testprintfcharstar $'%10.*c' $'0' $'a'
|
||
|
testprintfcharstar $'%*.c' $'0' $'a'
|
||
|
testprintfcharstar $'%*.1c' $'0' $'a'
|
||
|
testprintfcharstar $'%*.5c' $'0' $'a'
|
||
|
testprintfcharstar $'%*.10c' $'0' $'a'
|
||
|
testprintfcharstar $'%-*.c' $'0' $'a'
|
||
|
testprintfcharstar $'%-*.1c' $'0' $'a'
|
||
|
testprintfcharstar $'%-*.5c' $'0' $'a'
|
||
|
testprintfcharstar $'%-*.10c' $'0' $'a'
|
||
|
testprintfcharstar $'%0*.c' $'0' $'a'
|
||
|
testprintfcharstar $'%0*.1c' $'0' $'a'
|
||
|
testprintfcharstar $'%0*.5c' $'0' $'a'
|
||
|
testprintfcharstar $'%0*.10c' $'0' $'a'
|
||
|
testprintfcharstar $'%+*.c' $'0' $'a'
|
||
|
testprintfcharstar $'%+*.1c' $'0' $'a'
|
||
|
testprintfcharstar $'%+*.5c' $'0' $'a'
|
||
|
testprintfcharstar $'%+*.10c' $'0' $'a'
|
||
|
testprintfcharstar $'% *.c' $'0' $'a'
|
||
|
testprintfcharstar $'% *.1c' $'0' $'a'
|
||
|
testprintfcharstar $'% *.5c' $'0' $'a'
|
||
|
testprintfcharstar $'% *.10c' $'0' $'a'
|
||
|
testprintfcharstar $'%1.*c' $'1' $'a'
|
||
|
testprintfcharstar $'%5.*c' $'1' $'a'
|
||
|
testprintfcharstar $'%10.*c' $'1' $'a'
|
||
|
testprintfcharstar $'%*.c' $'1' $'a'
|
||
|
testprintfcharstar $'%*.1c' $'1' $'a'
|
||
|
testprintfcharstar $'%*.5c' $'1' $'a'
|
||
|
testprintfcharstar $'%*.10c' $'1' $'a'
|
||
|
testprintfcharstar $'%-*.c' $'1' $'a'
|
||
|
testprintfcharstar $'%-*.1c' $'1' $'a'
|
||
|
testprintfcharstar $'%-*.5c' $'1' $'a'
|
||
|
testprintfcharstar $'%-*.10c' $'1' $'a'
|
||
|
testprintfcharstar $'%0*.c' $'1' $'a'
|
||
|
testprintfcharstar $'%0*.1c' $'1' $'a'
|
||
|
testprintfcharstar $'%0*.5c' $'1' $'a'
|
||
|
testprintfcharstar $'%0*.10c' $'1' $'a'
|
||
|
testprintfcharstar $'%+*.c' $'1' $'a'
|
||
|
testprintfcharstar $'%+*.1c' $'1' $'a'
|
||
|
testprintfcharstar $'%+*.5c' $'1' $'a'
|
||
|
testprintfcharstar $'%+*.10c' $'1' $'a'
|
||
|
testprintfcharstar $'% *.c' $'1' $'a'
|
||
|
testprintfcharstar $'% *.1c' $'1' $'a'
|
||
|
testprintfcharstar $'% *.5c' $'1' $'a'
|
||
|
testprintfcharstar $'% *.10c' $'1' $'a'
|
||
|
testprintfcharstar $'%1.*c' $'5' $'a'
|
||
|
testprintfcharstar $'%5.*c' $'5' $'a'
|
||
|
testprintfcharstar $'%10.*c' $'5' $'a'
|
||
|
testprintfcharstar $'%*.c' $'5' $'a'
|
||
|
testprintfcharstar $'%*.1c' $'5' $'a'
|
||
|
testprintfcharstar $'%*.5c' $'5' $'a'
|
||
|
testprintfcharstar $'%*.10c' $'5' $'a'
|
||
|
testprintfcharstar $'%-*.c' $'5' $'a'
|
||
|
testprintfcharstar $'%-*.1c' $'5' $'a'
|
||
|
testprintfcharstar $'%-*.5c' $'5' $'a'
|
||
|
testprintfcharstar $'%-*.10c' $'5' $'a'
|
||
|
testprintfcharstar $'%0*.c' $'5' $'a'
|
||
|
testprintfcharstar $'%0*.1c' $'5' $'a'
|
||
|
testprintfcharstar $'%0*.5c' $'5' $'a'
|
||
|
testprintfcharstar $'%0*.10c' $'5' $'a'
|
||
|
testprintfcharstar $'%+*.c' $'5' $'a'
|
||
|
testprintfcharstar $'%+*.1c' $'5' $'a'
|
||
|
testprintfcharstar $'%+*.5c' $'5' $'a'
|
||
|
testprintfcharstar $'%+*.10c' $'5' $'a'
|
||
|
testprintfcharstar $'% *.c' $'5' $'a'
|
||
|
testprintfcharstar $'% *.1c' $'5' $'a'
|
||
|
testprintfcharstar $'% *.5c' $'5' $'a'
|
||
|
testprintfcharstar $'% *.10c' $'5' $'a'
|
||
|
testprintfcharstar $'%1.*c' $'10' $'a'
|
||
|
testprintfcharstar $'%5.*c' $'10' $'a'
|
||
|
testprintfcharstar $'%10.*c' $'10' $'a'
|
||
|
testprintfcharstar $'%*.c' $'10' $'a'
|
||
|
testprintfcharstar $'%*.1c' $'10' $'a'
|
||
|
testprintfcharstar $'%*.5c' $'10' $'a'
|
||
|
testprintfcharstar $'%*.10c' $'10' $'a'
|
||
|
testprintfcharstar $'%-*.c' $'10' $'a'
|
||
|
testprintfcharstar $'%-*.1c' $'10' $'a'
|
||
|
testprintfcharstar $'%-*.5c' $'10' $'a'
|
||
|
testprintfcharstar $'%-*.10c' $'10' $'a'
|
||
|
testprintfcharstar $'%0*.c' $'10' $'a'
|
||
|
testprintfcharstar $'%0*.1c' $'10' $'a'
|
||
|
testprintfcharstar $'%0*.5c' $'10' $'a'
|
||
|
testprintfcharstar $'%0*.10c' $'10' $'a'
|
||
|
testprintfcharstar $'%+*.c' $'10' $'a'
|
||
|
testprintfcharstar $'%+*.1c' $'10' $'a'
|
||
|
testprintfcharstar $'%+*.5c' $'10' $'a'
|
||
|
testprintfcharstar $'%+*.10c' $'10' $'a'
|
||
|
testprintfcharstar $'% *.c' $'10' $'a'
|
||
|
testprintfcharstar $'% *.1c' $'10' $'a'
|
||
|
testprintfcharstar $'% *.5c' $'10' $'a'
|
||
|
testprintfcharstar $'% *.10c' $'10' $'a'
|
||
|
testprintfstring $'%1.s' $'a'
|
||
|
testprintfstring $'%5.s' $'a'
|
||
|
testprintfstring $'%10.s' $'a'
|
||
|
testprintfstringstar $'%1.*s' $'0' $'a'
|
||
|
testprintfstringstar $'%5.*s' $'0' $'a'
|
||
|
testprintfstringstar $'%10.*s' $'0' $'a'
|
||
|
testprintfstringstar $'%*.s' $'0' $'a'
|
||
|
testprintfstringstar $'%*.1s' $'0' $'a'
|
||
|
testprintfstringstar $'%*.5s' $'0' $'a'
|
||
|
testprintfstringstar $'%*.10s' $'0' $'a'
|
||
|
testprintfstringstar $'%-*.s' $'0' $'a'
|
||
|
testprintfstringstar $'%-*.1s' $'0' $'a'
|
||
|
testprintfstringstar $'%-*.5s' $'0' $'a'
|
||
|
testprintfstringstar $'%-*.10s' $'0' $'a'
|
||
|
testprintfstringstar $'%0*.s' $'0' $'a'
|
||
|
testprintfstringstar $'%0*.1s' $'0' $'a'
|
||
|
testprintfstringstar $'%0*.5s' $'0' $'a'
|
||
|
testprintfstringstar $'%0*.10s' $'0' $'a'
|
||
|
testprintfstringstar $'%+*.s' $'0' $'a'
|
||
|
testprintfstringstar $'%+*.1s' $'0' $'a'
|
||
|
testprintfstringstar $'%+*.5s' $'0' $'a'
|
||
|
testprintfstringstar $'%+*.10s' $'0' $'a'
|
||
|
testprintfstringstar $'% *.s' $'0' $'a'
|
||
|
testprintfstringstar $'% *.1s' $'0' $'a'
|
||
|
testprintfstringstar $'% *.5s' $'0' $'a'
|
||
|
testprintfstringstar $'% *.10s' $'0' $'a'
|
||
|
testprintfstringstar $'%1.*s' $'1' $'a'
|
||
|
testprintfstringstar $'%5.*s' $'1' $'a'
|
||
|
testprintfstringstar $'%10.*s' $'1' $'a'
|
||
|
testprintfstringstar $'%*.s' $'1' $'a'
|
||
|
testprintfstringstar $'%*.1s' $'1' $'a'
|
||
|
testprintfstringstar $'%*.5s' $'1' $'a'
|
||
|
testprintfstringstar $'%*.10s' $'1' $'a'
|
||
|
testprintfstringstar $'%-*.s' $'1' $'a'
|
||
|
testprintfstringstar $'%-*.1s' $'1' $'a'
|
||
|
testprintfstringstar $'%-*.5s' $'1' $'a'
|
||
|
testprintfstringstar $'%-*.10s' $'1' $'a'
|
||
|
testprintfstringstar $'%0*.s' $'1' $'a'
|
||
|
testprintfstringstar $'%0*.1s' $'1' $'a'
|
||
|
testprintfstringstar $'%0*.5s' $'1' $'a'
|
||
|
testprintfstringstar $'%0*.10s' $'1' $'a'
|
||
|
testprintfstringstar $'%+*.s' $'1' $'a'
|
||
|
testprintfstringstar $'%+*.1s' $'1' $'a'
|
||
|
testprintfstringstar $'%+*.5s' $'1' $'a'
|
||
|
testprintfstringstar $'%+*.10s' $'1' $'a'
|
||
|
testprintfstringstar $'% *.s' $'1' $'a'
|
||
|
testprintfstringstar $'% *.1s' $'1' $'a'
|
||
|
testprintfstringstar $'% *.5s' $'1' $'a'
|
||
|
testprintfstringstar $'% *.10s' $'1' $'a'
|
||
|
testprintfstringstar $'%1.*s' $'5' $'a'
|
||
|
testprintfstringstar $'%5.*s' $'5' $'a'
|
||
|
testprintfstringstar $'%10.*s' $'5' $'a'
|
||
|
testprintfstringstar $'%*.s' $'5' $'a'
|
||
|
testprintfstringstar $'%*.1s' $'5' $'a'
|
||
|
testprintfstringstar $'%*.5s' $'5' $'a'
|
||
|
testprintfstringstar $'%*.10s' $'5' $'a'
|
||
|
testprintfstringstar $'%-*.s' $'5' $'a'
|
||
|
testprintfstringstar $'%-*.1s' $'5' $'a'
|
||
|
testprintfstringstar $'%-*.5s' $'5' $'a'
|
||
|
testprintfstringstar $'%-*.10s' $'5' $'a'
|
||
|
testprintfstringstar $'%0*.s' $'5' $'a'
|
||
|
testprintfstringstar $'%0*.1s' $'5' $'a'
|
||
|
testprintfstringstar $'%0*.5s' $'5' $'a'
|
||
|
testprintfstringstar $'%0*.10s' $'5' $'a'
|
||
|
testprintfstringstar $'%+*.s' $'5' $'a'
|
||
|
testprintfstringstar $'%+*.1s' $'5' $'a'
|
||
|
testprintfstringstar $'%+*.5s' $'5' $'a'
|
||
|
testprintfstringstar $'%+*.10s' $'5' $'a'
|
||
|
testprintfstringstar $'% *.s' $'5' $'a'
|
||
|
testprintfstringstar $'% *.1s' $'5' $'a'
|
||
|
testprintfstringstar $'% *.5s' $'5' $'a'
|
||
|
testprintfstringstar $'% *.10s' $'5' $'a'
|
||
|
testprintfstringstar $'%1.*s' $'10' $'a'
|
||
|
testprintfstringstar $'%5.*s' $'10' $'a'
|
||
|
testprintfstringstar $'%10.*s' $'10' $'a'
|
||
|
testprintfstringstar $'%*.s' $'10' $'a'
|
||
|
testprintfstringstar $'%*.1s' $'10' $'a'
|
||
|
testprintfstringstar $'%*.5s' $'10' $'a'
|
||
|
testprintfstringstar $'%*.10s' $'10' $'a'
|
||
|
testprintfstringstar $'%-*.s' $'10' $'a'
|
||
|
testprintfstringstar $'%-*.1s' $'10' $'a'
|
||
|
testprintfstringstar $'%-*.5s' $'10' $'a'
|
||
|
testprintfstringstar $'%-*.10s' $'10' $'a'
|
||
|
testprintfstringstar $'%0*.s' $'10' $'a'
|
||
|
testprintfstringstar $'%0*.1s' $'10' $'a'
|
||
|
testprintfstringstar $'%0*.5s' $'10' $'a'
|
||
|
testprintfstringstar $'%0*.10s' $'10' $'a'
|
||
|
testprintfstringstar $'%+*.s' $'10' $'a'
|
||
|
testprintfstringstar $'%+*.1s' $'10' $'a'
|
||
|
testprintfstringstar $'%+*.5s' $'10' $'a'
|
||
|
testprintfstringstar $'%+*.10s' $'10' $'a'
|
||
|
testprintfstringstar $'% *.s' $'10' $'a'
|
||
|
testprintfstringstar $'% *.1s' $'10' $'a'
|
||
|
testprintfstringstar $'% *.5s' $'10' $'a'
|
||
|
testprintfstringstar $'% *.10s' $'10' $'a'
|
||
|
testprintfstring $'%1.s' $'Hallo'
|
||
|
testprintfstring $'%5.s' $'Hallo'
|
||
|
testprintfstring $'%10.s' $'Hallo'
|
||
|
testprintfstringstar $'%1.*s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%5.*s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%10.*s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%*.s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%*.1s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%*.5s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%*.10s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%-*.s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%-*.1s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%-*.5s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%-*.10s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%0*.s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%0*.1s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%0*.5s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%0*.10s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%+*.s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%+*.1s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%+*.5s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%+*.10s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'% *.s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'% *.1s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'% *.5s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'% *.10s' $'0' $'Hallo'
|
||
|
testprintfstringstar $'%1.*s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%5.*s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%10.*s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%*.s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%*.1s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%*.5s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%*.10s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%-*.s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%-*.1s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%-*.5s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%-*.10s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%0*.s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%0*.1s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%0*.5s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%0*.10s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%+*.s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%+*.1s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%+*.5s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%+*.10s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'% *.s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'% *.1s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'% *.5s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'% *.10s' $'1' $'Hallo'
|
||
|
testprintfstringstar $'%1.*s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%5.*s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%10.*s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%*.s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%*.1s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%*.5s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%*.10s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%-*.s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%-*.1s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%-*.5s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%-*.10s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%0*.s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%0*.1s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%0*.5s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%0*.10s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%+*.s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%+*.1s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%+*.5s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%+*.10s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'% *.s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'% *.1s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'% *.5s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'% *.10s' $'5' $'Hallo'
|
||
|
testprintfstringstar $'%1.*s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%5.*s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%10.*s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%*.s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%*.1s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%*.5s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%*.10s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%-*.s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%-*.1s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%-*.5s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%-*.10s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%0*.s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%0*.1s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%0*.5s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%0*.10s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%+*.s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%+*.1s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%+*.5s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'%+*.10s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'% *.s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'% *.1s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'% *.5s' $'10' $'Hallo'
|
||
|
testprintfstringstar $'% *.10s' $'10' $'Hallo'
|
||
|
testprintfpointer $'%1.p' $'a'
|
||
|
testprintfpointer $'%5.p' $'a'
|
||
|
testprintfpointer $'%10.p' $'a'
|
||
|
testprintfpointerstar $'%1.*p' $'0' $'a'
|
||
|
testprintfpointerstar $'%5.*p' $'0' $'a'
|
||
|
testprintfpointerstar $'%10.*p' $'0' $'a'
|
||
|
testprintfpointerstar $'%*.p' $'0' $'a'
|
||
|
testprintfpointerstar $'%*.1p' $'0' $'a'
|
||
|
testprintfpointerstar $'%*.5p' $'0' $'a'
|
||
|
testprintfpointerstar $'%*.10p' $'0' $'a'
|
||
|
testprintfpointerstar $'%-*.p' $'0' $'a'
|
||
|
testprintfpointerstar $'%-*.1p' $'0' $'a'
|
||
|
testprintfpointerstar $'%-*.5p' $'0' $'a'
|
||
|
testprintfpointerstar $'%-*.10p' $'0' $'a'
|
||
|
testprintfpointerstar $'%0*.p' $'0' $'a'
|
||
|
testprintfpointerstar $'%0*.1p' $'0' $'a'
|
||
|
testprintfpointerstar $'%0*.5p' $'0' $'a'
|
||
|
testprintfpointerstar $'%0*.10p' $'0' $'a'
|
||
|
testprintfpointerstar $'%+*.p' $'0' $'a'
|
||
|
testprintfpointerstar $'%+*.1p' $'0' $'a'
|
||
|
testprintfpointerstar $'%+*.5p' $'0' $'a'
|
||
|
testprintfpointerstar $'%+*.10p' $'0' $'a'
|
||
|
testprintfpointerstar $'% *.p' $'0' $'a'
|
||
|
testprintfpointerstar $'% *.1p' $'0' $'a'
|
||
|
testprintfpointerstar $'% *.5p' $'0' $'a'
|
||
|
testprintfpointerstar $'% *.10p' $'0' $'a'
|
||
|
testprintfpointerstar $'%1.*p' $'1' $'a'
|
||
|
testprintfpointerstar $'%5.*p' $'1' $'a'
|
||
|
testprintfpointerstar $'%10.*p' $'1' $'a'
|
||
|
testprintfpointerstar $'%*.p' $'1' $'a'
|
||
|
testprintfpointerstar $'%*.1p' $'1' $'a'
|
||
|
testprintfpointerstar $'%*.5p' $'1' $'a'
|
||
|
testprintfpointerstar $'%*.10p' $'1' $'a'
|
||
|
testprintfpointerstar $'%-*.p' $'1' $'a'
|
||
|
testprintfpointerstar $'%-*.1p' $'1' $'a'
|
||
|
testprintfpointerstar $'%-*.5p' $'1' $'a'
|
||
|
testprintfpointerstar $'%-*.10p' $'1' $'a'
|
||
|
testprintfpointerstar $'%0*.p' $'1' $'a'
|
||
|
testprintfpointerstar $'%0*.1p' $'1' $'a'
|
||
|
testprintfpointerstar $'%0*.5p' $'1' $'a'
|
||
|
testprintfpointerstar $'%0*.10p' $'1' $'a'
|
||
|
testprintfpointerstar $'%+*.p' $'1' $'a'
|
||
|
testprintfpointerstar $'%+*.1p' $'1' $'a'
|
||
|
testprintfpointerstar $'%+*.5p' $'1' $'a'
|
||
|
testprintfpointerstar $'%+*.10p' $'1' $'a'
|
||
|
testprintfpointerstar $'% *.p' $'1' $'a'
|
||
|
testprintfpointerstar $'% *.1p' $'1' $'a'
|
||
|
testprintfpointerstar $'% *.5p' $'1' $'a'
|
||
|
testprintfpointerstar $'% *.10p' $'1' $'a'
|
||
|
testprintfpointerstar $'%1.*p' $'5' $'a'
|
||
|
testprintfpointerstar $'%5.*p' $'5' $'a'
|
||
|
testprintfpointerstar $'%10.*p' $'5' $'a'
|
||
|
testprintfpointerstar $'%*.p' $'5' $'a'
|
||
|
testprintfpointerstar $'%*.1p' $'5' $'a'
|
||
|
testprintfpointerstar $'%*.5p' $'5' $'a'
|
||
|
testprintfpointerstar $'%*.10p' $'5' $'a'
|
||
|
testprintfpointerstar $'%-*.p' $'5' $'a'
|
||
|
testprintfpointerstar $'%-*.1p' $'5' $'a'
|
||
|
testprintfpointerstar $'%-*.5p' $'5' $'a'
|
||
|
testprintfpointerstar $'%-*.10p' $'5' $'a'
|
||
|
testprintfpointerstar $'%0*.p' $'5' $'a'
|
||
|
testprintfpointerstar $'%0*.1p' $'5' $'a'
|
||
|
testprintfpointerstar $'%0*.5p' $'5' $'a'
|
||
|
testprintfpointerstar $'%0*.10p' $'5' $'a'
|
||
|
testprintfpointerstar $'%+*.p' $'5' $'a'
|
||
|
testprintfpointerstar $'%+*.1p' $'5' $'a'
|
||
|
testprintfpointerstar $'%+*.5p' $'5' $'a'
|
||
|
testprintfpointerstar $'%+*.10p' $'5' $'a'
|
||
|
testprintfpointerstar $'% *.p' $'5' $'a'
|
||
|
testprintfpointerstar $'% *.1p' $'5' $'a'
|
||
|
testprintfpointerstar $'% *.5p' $'5' $'a'
|
||
|
testprintfpointerstar $'% *.10p' $'5' $'a'
|
||
|
testprintfpointerstar $'%1.*p' $'10' $'a'
|
||
|
testprintfpointerstar $'%5.*p' $'10' $'a'
|
||
|
testprintfpointerstar $'%10.*p' $'10' $'a'
|
||
|
testprintfpointerstar $'%*.p' $'10' $'a'
|
||
|
testprintfpointerstar $'%*.1p' $'10' $'a'
|
||
|
testprintfpointerstar $'%*.5p' $'10' $'a'
|
||
|
testprintfpointerstar $'%*.10p' $'10' $'a'
|
||
|
testprintfpointerstar $'%-*.p' $'10' $'a'
|
||
|
testprintfpointerstar $'%-*.1p' $'10' $'a'
|
||
|
testprintfpointerstar $'%-*.5p' $'10' $'a'
|
||
|
testprintfpointerstar $'%-*.10p' $'10' $'a'
|
||
|
testprintfpointerstar $'%0*.p' $'10' $'a'
|
||
|
testprintfpointerstar $'%0*.1p' $'10' $'a'
|
||
|
testprintfpointerstar $'%0*.5p' $'10' $'a'
|
||
|
testprintfpointerstar $'%0*.10p' $'10' $'a'
|
||
|
testprintfpointerstar $'%+*.p' $'10' $'a'
|
||
|
testprintfpointerstar $'%+*.1p' $'10' $'a'
|
||
|
testprintfpointerstar $'%+*.5p' $'10' $'a'
|
||
|
testprintfpointerstar $'%+*.10p' $'10' $'a'
|
||
|
testprintfpointerstar $'% *.p' $'10' $'a'
|
||
|
testprintfpointerstar $'% *.1p' $'10' $'a'
|
||
|
testprintfpointerstar $'% *.5p' $'10' $'a'
|
||
|
testprintfpointerstar $'% *.10p' $'10' $'a'
|
||
|
testprintfpointer $'%1.p' $'Hallo'
|
||
|
testprintfpointer $'%5.p' $'Hallo'
|
||
|
testprintfpointer $'%10.p' $'Hallo'
|
||
|
testprintfpointerstar $'%1.*p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%5.*p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%10.*p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%*.p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%*.1p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%*.5p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%*.10p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.1p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.5p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.10p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.1p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.5p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.10p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.1p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.5p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.10p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'% *.p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'% *.1p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'% *.5p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'% *.10p' $'0' $'Hallo'
|
||
|
testprintfpointerstar $'%1.*p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%5.*p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%10.*p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%*.p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%*.1p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%*.5p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%*.10p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.1p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.5p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.10p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.1p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.5p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.10p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.1p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.5p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.10p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'% *.p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'% *.1p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'% *.5p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'% *.10p' $'1' $'Hallo'
|
||
|
testprintfpointerstar $'%1.*p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%5.*p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%10.*p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%*.p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%*.1p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%*.5p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%*.10p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.1p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.5p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.10p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.1p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.5p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.10p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.1p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.5p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.10p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'% *.p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'% *.1p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'% *.5p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'% *.10p' $'5' $'Hallo'
|
||
|
testprintfpointerstar $'%1.*p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%5.*p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%10.*p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%*.p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%*.1p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%*.5p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%*.10p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.1p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.5p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%-*.10p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.1p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.5p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%0*.10p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.1p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.5p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'%+*.10p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'% *.p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'% *.1p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'% *.5p' $'10' $'Hallo'
|
||
|
testprintfpointerstar $'% *.10p' $'10' $'Hallo'
|
||
|
testprintfint $'%1.d' $'0'
|
||
|
testprintfint $'%5.d' $'0'
|
||
|
testprintfint $'%10.d' $'0'
|
||
|
testprintfintstar $'%1.*d' $'0' $'0'
|
||
|
testprintfintstar $'%5.*d' $'0' $'0'
|
||
|
testprintfintstar $'%10.*d' $'0' $'0'
|
||
|
testprintfintstar $'%*.d' $'0' $'0'
|
||
|
testprintfintstar $'%*.1d' $'0' $'0'
|
||
|
testprintfintstar $'%*.5d' $'0' $'0'
|
||
|
testprintfintstar $'%*.10d' $'0' $'0'
|
||
|
testprintfintstar $'%-*.d' $'0' $'0'
|
||
|
testprintfintstar $'%-*.1d' $'0' $'0'
|
||
|
testprintfintstar $'%-*.5d' $'0' $'0'
|
||
|
testprintfintstar $'%-*.10d' $'0' $'0'
|
||
|
testprintfintstar $'%0*.d' $'0' $'0'
|
||
|
testprintfintstar $'%0*.1d' $'0' $'0'
|
||
|
testprintfintstar $'%0*.5d' $'0' $'0'
|
||
|
testprintfintstar $'%0*.10d' $'0' $'0'
|
||
|
testprintfintstar $'%+*.d' $'0' $'0'
|
||
|
testprintfintstar $'%+*.1d' $'0' $'0'
|
||
|
testprintfintstar $'%+*.5d' $'0' $'0'
|
||
|
testprintfintstar $'%+*.10d' $'0' $'0'
|
||
|
testprintfintstar $'% *.d' $'0' $'0'
|
||
|
testprintfintstar $'% *.1d' $'0' $'0'
|
||
|
testprintfintstar $'% *.5d' $'0' $'0'
|
||
|
testprintfintstar $'% *.10d' $'0' $'0'
|
||
|
testprintfintstar $'%1.*d' $'1' $'0'
|
||
|
testprintfintstar $'%5.*d' $'1' $'0'
|
||
|
testprintfintstar $'%10.*d' $'1' $'0'
|
||
|
testprintfintstar $'%*.d' $'1' $'0'
|
||
|
testprintfintstar $'%*.1d' $'1' $'0'
|
||
|
testprintfintstar $'%*.5d' $'1' $'0'
|
||
|
testprintfintstar $'%*.10d' $'1' $'0'
|
||
|
testprintfintstar $'%-*.d' $'1' $'0'
|
||
|
testprintfintstar $'%-*.1d' $'1' $'0'
|
||
|
testprintfintstar $'%-*.5d' $'1' $'0'
|
||
|
testprintfintstar $'%-*.10d' $'1' $'0'
|
||
|
testprintfintstar $'%0*.d' $'1' $'0'
|
||
|
testprintfintstar $'%0*.1d' $'1' $'0'
|
||
|
testprintfintstar $'%0*.5d' $'1' $'0'
|
||
|
testprintfintstar $'%0*.10d' $'1' $'0'
|
||
|
testprintfintstar $'%+*.d' $'1' $'0'
|
||
|
testprintfintstar $'%+*.1d' $'1' $'0'
|
||
|
testprintfintstar $'%+*.5d' $'1' $'0'
|
||
|
testprintfintstar $'%+*.10d' $'1' $'0'
|
||
|
testprintfintstar $'% *.d' $'1' $'0'
|
||
|
testprintfintstar $'% *.1d' $'1' $'0'
|
||
|
testprintfintstar $'% *.5d' $'1' $'0'
|
||
|
testprintfintstar $'% *.10d' $'1' $'0'
|
||
|
testprintfintstar $'%1.*d' $'10' $'0'
|
||
|
testprintfintstar $'%5.*d' $'10' $'0'
|
||
|
testprintfintstar $'%10.*d' $'10' $'0'
|
||
|
testprintfintstar $'%*.d' $'10' $'0'
|
||
|
testprintfintstar $'%*.1d' $'10' $'0'
|
||
|
testprintfintstar $'%*.5d' $'10' $'0'
|
||
|
testprintfintstar $'%*.10d' $'10' $'0'
|
||
|
testprintfintstar $'%-*.d' $'10' $'0'
|
||
|
testprintfintstar $'%-*.1d' $'10' $'0'
|
||
|
testprintfintstar $'%-*.5d' $'10' $'0'
|
||
|
testprintfintstar $'%-*.10d' $'10' $'0'
|
||
|
testprintfintstar $'%0*.d' $'10' $'0'
|
||
|
testprintfintstar $'%0*.1d' $'10' $'0'
|
||
|
testprintfintstar $'%0*.5d' $'10' $'0'
|
||
|
testprintfintstar $'%0*.10d' $'10' $'0'
|
||
|
testprintfintstar $'%+*.d' $'10' $'0'
|
||
|
testprintfintstar $'%+*.1d' $'10' $'0'
|
||
|
testprintfintstar $'%+*.5d' $'10' $'0'
|
||
|
testprintfintstar $'%+*.10d' $'10' $'0'
|
||
|
testprintfintstar $'% *.d' $'10' $'0'
|
||
|
testprintfintstar $'% *.1d' $'10' $'0'
|
||
|
testprintfintstar $'% *.5d' $'10' $'0'
|
||
|
testprintfintstar $'% *.10d' $'10' $'0'
|
||
|
testprintfintstar $'%1.*d' $'20' $'0'
|
||
|
testprintfintstar $'%5.*d' $'20' $'0'
|
||
|
testprintfintstar $'%10.*d' $'20' $'0'
|
||
|
testprintfintstar $'%*.d' $'20' $'0'
|
||
|
testprintfintstar $'%*.1d' $'20' $'0'
|
||
|
testprintfintstar $'%*.5d' $'20' $'0'
|
||
|
testprintfintstar $'%*.10d' $'20' $'0'
|
||
|
testprintfintstar $'%-*.d' $'20' $'0'
|
||
|
testprintfintstar $'%-*.1d' $'20' $'0'
|
||
|
testprintfintstar $'%-*.5d' $'20' $'0'
|
||
|
testprintfintstar $'%-*.10d' $'20' $'0'
|
||
|
testprintfintstar $'%0*.d' $'20' $'0'
|
||
|
testprintfintstar $'%0*.1d' $'20' $'0'
|
||
|
testprintfintstar $'%0*.5d' $'20' $'0'
|
||
|
testprintfintstar $'%0*.10d' $'20' $'0'
|
||
|
testprintfintstar $'%+*.d' $'20' $'0'
|
||
|
testprintfintstar $'%+*.1d' $'20' $'0'
|
||
|
testprintfintstar $'%+*.5d' $'20' $'0'
|
||
|
testprintfintstar $'%+*.10d' $'20' $'0'
|
||
|
testprintfintstar $'% *.d' $'20' $'0'
|
||
|
testprintfintstar $'% *.1d' $'20' $'0'
|
||
|
testprintfintstar $'% *.5d' $'20' $'0'
|
||
|
testprintfintstar $'% *.10d' $'20' $'0'
|
||
|
testprintfint $'%1.d' $'2147483647'
|
||
|
testprintfint $'%5.d' $'2147483647'
|
||
|
testprintfint $'%10.d' $'2147483647'
|
||
|
testprintfintstar $'%1.*d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%5.*d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%10.*d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.1d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.5d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.10d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.1d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.5d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.10d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.1d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.5d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.10d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.1d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.5d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.10d' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.d' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.1d' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.5d' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.10d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%1.*d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%5.*d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%10.*d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.1d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.5d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.10d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.1d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.5d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.10d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.1d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.5d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.10d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.1d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.5d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.10d' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.d' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.1d' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.5d' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.10d' $'1' $'2147483647'
|
||
|
testprintfintstar $'%1.*d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%5.*d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%10.*d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.1d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.5d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.10d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.1d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.5d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.10d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.1d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.5d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.10d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.1d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.5d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.10d' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.d' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.1d' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.5d' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.10d' $'10' $'2147483647'
|
||
|
testprintfintstar $'%1.*d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%5.*d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%10.*d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.1d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.5d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.10d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.1d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.5d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.10d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.1d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.5d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.10d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.1d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.5d' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.10d' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.d' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.1d' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.5d' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.10d' $'20' $'2147483647'
|
||
|
testprintfint $'%1.d' $'-2147483648'
|
||
|
testprintfint $'%5.d' $'-2147483648'
|
||
|
testprintfint $'%10.d' $'-2147483648'
|
||
|
testprintfintstar $'%1.*d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%5.*d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%10.*d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*.d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*.1d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*.5d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*.10d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%-*.d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%-*.1d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%-*.5d' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.10d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*.d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*.1d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*.5d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*.10d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%+*.d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%+*.1d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%+*.5d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%+*.10d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'% *.d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'% *.1d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'% *.5d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'% *.10d' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%1.*d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%5.*d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%10.*d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*.d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*.1d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*.5d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*.10d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*.d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*.1d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*.5d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*.10d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*.d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*.1d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*.5d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*.10d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%+*.d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%+*.1d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%+*.5d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%+*.10d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'% *.d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'% *.1d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'% *.5d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'% *.10d' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%1.*d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%5.*d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%10.*d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%*.d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%*.1d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%*.5d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%*.10d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%-*.d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%-*.1d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%-*.5d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%-*.10d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%0*.d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%0*.1d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%0*.5d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%0*.10d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%+*.d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%+*.1d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%+*.5d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%+*.10d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'% *.d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'% *.1d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'% *.5d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'% *.10d' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%1.*d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%5.*d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%10.*d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*.d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*.1d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*.5d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*.10d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*.d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*.1d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*.5d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*.10d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*.d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*.1d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*.5d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*.10d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%+*.d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%+*.1d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%+*.5d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%+*.10d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'% *.d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'% *.1d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'% *.5d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'% *.10d' $'20' $'-2147483648'
|
||
|
testprintfint $'%1.i' $'0'
|
||
|
testprintfint $'%5.i' $'0'
|
||
|
testprintfint $'%10.i' $'0'
|
||
|
testprintfintstar $'%1.*i' $'0' $'0'
|
||
|
testprintfintstar $'%5.*i' $'0' $'0'
|
||
|
testprintfintstar $'%10.*i' $'0' $'0'
|
||
|
testprintfintstar $'%*.i' $'0' $'0'
|
||
|
testprintfintstar $'%*.1i' $'0' $'0'
|
||
|
testprintfintstar $'%*.5i' $'0' $'0'
|
||
|
testprintfintstar $'%*.10i' $'0' $'0'
|
||
|
testprintfintstar $'%-*.i' $'0' $'0'
|
||
|
testprintfintstar $'%-*.1i' $'0' $'0'
|
||
|
testprintfintstar $'%-*.5i' $'0' $'0'
|
||
|
testprintfintstar $'%-*.10i' $'0' $'0'
|
||
|
testprintfintstar $'%0*.i' $'0' $'0'
|
||
|
testprintfintstar $'%0*.1i' $'0' $'0'
|
||
|
testprintfintstar $'%0*.5i' $'0' $'0'
|
||
|
testprintfintstar $'%0*.10i' $'0' $'0'
|
||
|
testprintfintstar $'%+*.i' $'0' $'0'
|
||
|
testprintfintstar $'%+*.1i' $'0' $'0'
|
||
|
testprintfintstar $'%+*.5i' $'0' $'0'
|
||
|
testprintfintstar $'%+*.10i' $'0' $'0'
|
||
|
testprintfintstar $'% *.i' $'0' $'0'
|
||
|
testprintfintstar $'% *.1i' $'0' $'0'
|
||
|
testprintfintstar $'% *.5i' $'0' $'0'
|
||
|
testprintfintstar $'% *.10i' $'0' $'0'
|
||
|
testprintfintstar $'%1.*i' $'1' $'0'
|
||
|
testprintfintstar $'%5.*i' $'1' $'0'
|
||
|
testprintfintstar $'%10.*i' $'1' $'0'
|
||
|
testprintfintstar $'%*.i' $'1' $'0'
|
||
|
testprintfintstar $'%*.1i' $'1' $'0'
|
||
|
testprintfintstar $'%*.5i' $'1' $'0'
|
||
|
testprintfintstar $'%*.10i' $'1' $'0'
|
||
|
testprintfintstar $'%-*.i' $'1' $'0'
|
||
|
testprintfintstar $'%-*.1i' $'1' $'0'
|
||
|
testprintfintstar $'%-*.5i' $'1' $'0'
|
||
|
testprintfintstar $'%-*.10i' $'1' $'0'
|
||
|
testprintfintstar $'%0*.i' $'1' $'0'
|
||
|
testprintfintstar $'%0*.1i' $'1' $'0'
|
||
|
testprintfintstar $'%0*.5i' $'1' $'0'
|
||
|
testprintfintstar $'%0*.10i' $'1' $'0'
|
||
|
testprintfintstar $'%+*.i' $'1' $'0'
|
||
|
testprintfintstar $'%+*.1i' $'1' $'0'
|
||
|
testprintfintstar $'%+*.5i' $'1' $'0'
|
||
|
testprintfintstar $'%+*.10i' $'1' $'0'
|
||
|
testprintfintstar $'% *.i' $'1' $'0'
|
||
|
testprintfintstar $'% *.1i' $'1' $'0'
|
||
|
testprintfintstar $'% *.5i' $'1' $'0'
|
||
|
testprintfintstar $'% *.10i' $'1' $'0'
|
||
|
testprintfintstar $'%1.*i' $'10' $'0'
|
||
|
testprintfintstar $'%5.*i' $'10' $'0'
|
||
|
testprintfintstar $'%10.*i' $'10' $'0'
|
||
|
testprintfintstar $'%*.i' $'10' $'0'
|
||
|
testprintfintstar $'%*.1i' $'10' $'0'
|
||
|
testprintfintstar $'%*.5i' $'10' $'0'
|
||
|
testprintfintstar $'%*.10i' $'10' $'0'
|
||
|
testprintfintstar $'%-*.i' $'10' $'0'
|
||
|
testprintfintstar $'%-*.1i' $'10' $'0'
|
||
|
testprintfintstar $'%-*.5i' $'10' $'0'
|
||
|
testprintfintstar $'%-*.10i' $'10' $'0'
|
||
|
testprintfintstar $'%0*.i' $'10' $'0'
|
||
|
testprintfintstar $'%0*.1i' $'10' $'0'
|
||
|
testprintfintstar $'%0*.5i' $'10' $'0'
|
||
|
testprintfintstar $'%0*.10i' $'10' $'0'
|
||
|
testprintfintstar $'%+*.i' $'10' $'0'
|
||
|
testprintfintstar $'%+*.1i' $'10' $'0'
|
||
|
testprintfintstar $'%+*.5i' $'10' $'0'
|
||
|
testprintfintstar $'%+*.10i' $'10' $'0'
|
||
|
testprintfintstar $'% *.i' $'10' $'0'
|
||
|
testprintfintstar $'% *.1i' $'10' $'0'
|
||
|
testprintfintstar $'% *.5i' $'10' $'0'
|
||
|
testprintfintstar $'% *.10i' $'10' $'0'
|
||
|
testprintfintstar $'%1.*i' $'20' $'0'
|
||
|
testprintfintstar $'%5.*i' $'20' $'0'
|
||
|
testprintfintstar $'%10.*i' $'20' $'0'
|
||
|
testprintfintstar $'%*.i' $'20' $'0'
|
||
|
testprintfintstar $'%*.1i' $'20' $'0'
|
||
|
testprintfintstar $'%*.5i' $'20' $'0'
|
||
|
testprintfintstar $'%*.10i' $'20' $'0'
|
||
|
testprintfintstar $'%-*.i' $'20' $'0'
|
||
|
testprintfintstar $'%-*.1i' $'20' $'0'
|
||
|
testprintfintstar $'%-*.5i' $'20' $'0'
|
||
|
testprintfintstar $'%-*.10i' $'20' $'0'
|
||
|
testprintfintstar $'%0*.i' $'20' $'0'
|
||
|
testprintfintstar $'%0*.1i' $'20' $'0'
|
||
|
testprintfintstar $'%0*.5i' $'20' $'0'
|
||
|
testprintfintstar $'%0*.10i' $'20' $'0'
|
||
|
testprintfintstar $'%+*.i' $'20' $'0'
|
||
|
testprintfintstar $'%+*.1i' $'20' $'0'
|
||
|
testprintfintstar $'%+*.5i' $'20' $'0'
|
||
|
testprintfintstar $'%+*.10i' $'20' $'0'
|
||
|
testprintfintstar $'% *.i' $'20' $'0'
|
||
|
testprintfintstar $'% *.1i' $'20' $'0'
|
||
|
testprintfintstar $'% *.5i' $'20' $'0'
|
||
|
testprintfintstar $'% *.10i' $'20' $'0'
|
||
|
testprintfint $'%1.i' $'2147483647'
|
||
|
testprintfint $'%5.i' $'2147483647'
|
||
|
testprintfint $'%10.i' $'2147483647'
|
||
|
testprintfintstar $'%1.*i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%5.*i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%10.*i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.1i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.5i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.10i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.1i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.5i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.10i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.1i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.5i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.10i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.1i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.5i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.10i' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.i' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.1i' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.5i' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.10i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%1.*i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%5.*i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%10.*i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.1i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.5i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.10i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.1i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.5i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.10i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.1i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.5i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.10i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.1i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.5i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.10i' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.i' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.1i' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.5i' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.10i' $'1' $'2147483647'
|
||
|
testprintfintstar $'%1.*i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%5.*i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%10.*i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.1i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.5i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.10i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.1i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.5i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.10i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.1i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.5i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.10i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.1i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.5i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.10i' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.i' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.1i' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.5i' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.10i' $'10' $'2147483647'
|
||
|
testprintfintstar $'%1.*i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%5.*i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%10.*i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.1i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.5i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.10i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.1i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.5i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.10i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.1i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.5i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.10i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.1i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.5i' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.10i' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.i' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.1i' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.5i' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.10i' $'20' $'2147483647'
|
||
|
testprintfint $'%1.i' $'-2147483648'
|
||
|
testprintfint $'%5.i' $'-2147483648'
|
||
|
testprintfint $'%10.i' $'-2147483648'
|
||
|
testprintfintstar $'%1.*i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%5.*i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%10.*i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*.i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*.1i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*.5i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%*.10i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%-*.i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%-*.1i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%-*.5i' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.10i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*.i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*.1i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*.5i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%0*.10i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%+*.i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%+*.1i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%+*.5i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%+*.10i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'% *.i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'% *.1i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'% *.5i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'% *.10i' $'0' $'-2147483648'
|
||
|
testprintfintstar $'%1.*i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%5.*i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%10.*i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*.i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*.1i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*.5i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%*.10i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*.i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*.1i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*.5i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%-*.10i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*.i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*.1i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*.5i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%0*.10i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%+*.i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%+*.1i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%+*.5i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%+*.10i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'% *.i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'% *.1i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'% *.5i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'% *.10i' $'1' $'-2147483648'
|
||
|
testprintfintstar $'%1.*i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%5.*i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%10.*i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%*.i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%*.1i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%*.5i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%*.10i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%-*.i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%-*.1i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%-*.5i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%-*.10i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%0*.i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%0*.1i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%0*.5i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%0*.10i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%+*.i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%+*.1i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%+*.5i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%+*.10i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'% *.i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'% *.1i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'% *.5i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'% *.10i' $'10' $'-2147483648'
|
||
|
testprintfintstar $'%1.*i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%5.*i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%10.*i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*.i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*.1i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*.5i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%*.10i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*.i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*.1i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*.5i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%-*.10i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*.i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*.1i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*.5i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%0*.10d' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%+*.i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%+*.1i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%+*.5i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'%+*.10i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'% *.i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'% *.1i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'% *.5i' $'20' $'-2147483648'
|
||
|
testprintfintstar $'% *.10i' $'20' $'-2147483648'
|
||
|
testprintfint $'%1.u' $'0'
|
||
|
testprintfint $'%5.u' $'0'
|
||
|
testprintfint $'%10.u' $'0'
|
||
|
testprintfintstar $'%1.*u' $'0' $'0'
|
||
|
testprintfintstar $'%5.*u' $'0' $'0'
|
||
|
testprintfintstar $'%10.*u' $'0' $'0'
|
||
|
testprintfintstar $'%*.u' $'0' $'0'
|
||
|
testprintfintstar $'%*.1u' $'0' $'0'
|
||
|
testprintfintstar $'%*.5u' $'0' $'0'
|
||
|
testprintfintstar $'%*.10u' $'0' $'0'
|
||
|
testprintfintstar $'%-*.u' $'0' $'0'
|
||
|
testprintfintstar $'%-*.1u' $'0' $'0'
|
||
|
testprintfintstar $'%-*.5u' $'0' $'0'
|
||
|
testprintfintstar $'%-*.10u' $'0' $'0'
|
||
|
testprintfintstar $'%0*.u' $'0' $'0'
|
||
|
testprintfintstar $'%0*.1u' $'0' $'0'
|
||
|
testprintfintstar $'%0*.5u' $'0' $'0'
|
||
|
testprintfintstar $'%0*.10u' $'0' $'0'
|
||
|
testprintfintstar $'%+*.u' $'0' $'0'
|
||
|
testprintfintstar $'%+*.1u' $'0' $'0'
|
||
|
testprintfintstar $'%+*.5u' $'0' $'0'
|
||
|
testprintfintstar $'%+*.10u' $'0' $'0'
|
||
|
testprintfintstar $'% *.u' $'0' $'0'
|
||
|
testprintfintstar $'% *.1u' $'0' $'0'
|
||
|
testprintfintstar $'% *.5u' $'0' $'0'
|
||
|
testprintfintstar $'% *.10u' $'0' $'0'
|
||
|
testprintfintstar $'%1.*u' $'1' $'0'
|
||
|
testprintfintstar $'%5.*u' $'1' $'0'
|
||
|
testprintfintstar $'%10.*u' $'1' $'0'
|
||
|
testprintfintstar $'%*.u' $'1' $'0'
|
||
|
testprintfintstar $'%*.1u' $'1' $'0'
|
||
|
testprintfintstar $'%*.5u' $'1' $'0'
|
||
|
testprintfintstar $'%*.10u' $'1' $'0'
|
||
|
testprintfintstar $'%-*.u' $'1' $'0'
|
||
|
testprintfintstar $'%-*.1u' $'1' $'0'
|
||
|
testprintfintstar $'%-*.5u' $'1' $'0'
|
||
|
testprintfintstar $'%-*.10u' $'1' $'0'
|
||
|
testprintfintstar $'%0*.u' $'1' $'0'
|
||
|
testprintfintstar $'%0*.1u' $'1' $'0'
|
||
|
testprintfintstar $'%0*.5u' $'1' $'0'
|
||
|
testprintfintstar $'%0*.10u' $'1' $'0'
|
||
|
testprintfintstar $'%+*.u' $'1' $'0'
|
||
|
testprintfintstar $'%+*.1u' $'1' $'0'
|
||
|
testprintfintstar $'%+*.5u' $'1' $'0'
|
||
|
testprintfintstar $'%+*.10u' $'1' $'0'
|
||
|
testprintfintstar $'% *.u' $'1' $'0'
|
||
|
testprintfintstar $'% *.1u' $'1' $'0'
|
||
|
testprintfintstar $'% *.5u' $'1' $'0'
|
||
|
testprintfintstar $'% *.10u' $'1' $'0'
|
||
|
testprintfintstar $'%1.*u' $'10' $'0'
|
||
|
testprintfintstar $'%5.*u' $'10' $'0'
|
||
|
testprintfintstar $'%10.*u' $'10' $'0'
|
||
|
testprintfintstar $'%*.u' $'10' $'0'
|
||
|
testprintfintstar $'%*.1u' $'10' $'0'
|
||
|
testprintfintstar $'%*.5u' $'10' $'0'
|
||
|
testprintfintstar $'%*.10u' $'10' $'0'
|
||
|
testprintfintstar $'%-*.u' $'10' $'0'
|
||
|
testprintfintstar $'%-*.1u' $'10' $'0'
|
||
|
testprintfintstar $'%-*.5u' $'10' $'0'
|
||
|
testprintfintstar $'%-*.10u' $'10' $'0'
|
||
|
testprintfintstar $'%0*.u' $'10' $'0'
|
||
|
testprintfintstar $'%0*.1u' $'10' $'0'
|
||
|
testprintfintstar $'%0*.5u' $'10' $'0'
|
||
|
testprintfintstar $'%0*.10u' $'10' $'0'
|
||
|
testprintfintstar $'%+*.u' $'10' $'0'
|
||
|
testprintfintstar $'%+*.1u' $'10' $'0'
|
||
|
testprintfintstar $'%+*.5u' $'10' $'0'
|
||
|
testprintfintstar $'%+*.10u' $'10' $'0'
|
||
|
testprintfintstar $'% *.u' $'10' $'0'
|
||
|
testprintfintstar $'% *.1u' $'10' $'0'
|
||
|
testprintfintstar $'% *.5u' $'10' $'0'
|
||
|
testprintfintstar $'% *.10u' $'10' $'0'
|
||
|
testprintfintstar $'%1.*u' $'20' $'0'
|
||
|
testprintfintstar $'%5.*u' $'20' $'0'
|
||
|
testprintfintstar $'%10.*u' $'20' $'0'
|
||
|
testprintfintstar $'%*.u' $'20' $'0'
|
||
|
testprintfintstar $'%*.1u' $'20' $'0'
|
||
|
testprintfintstar $'%*.5u' $'20' $'0'
|
||
|
testprintfintstar $'%*.10u' $'20' $'0'
|
||
|
testprintfintstar $'%-*.u' $'20' $'0'
|
||
|
testprintfintstar $'%-*.1u' $'20' $'0'
|
||
|
testprintfintstar $'%-*.5u' $'20' $'0'
|
||
|
testprintfintstar $'%-*.10u' $'20' $'0'
|
||
|
testprintfintstar $'%0*.u' $'20' $'0'
|
||
|
testprintfintstar $'%0*.1u' $'20' $'0'
|
||
|
testprintfintstar $'%0*.5u' $'20' $'0'
|
||
|
testprintfintstar $'%0*.10u' $'20' $'0'
|
||
|
testprintfintstar $'%+*.u' $'20' $'0'
|
||
|
testprintfintstar $'%+*.1u' $'20' $'0'
|
||
|
testprintfintstar $'%+*.5u' $'20' $'0'
|
||
|
testprintfintstar $'%+*.10u' $'20' $'0'
|
||
|
testprintfintstar $'% *.u' $'20' $'0'
|
||
|
testprintfintstar $'% *.1u' $'20' $'0'
|
||
|
testprintfintstar $'% *.5u' $'20' $'0'
|
||
|
testprintfintstar $'% *.10u' $'20' $'0'
|
||
|
testprintfint $'%1.u' $'2147483647'
|
||
|
testprintfint $'%5.u' $'2147483647'
|
||
|
testprintfint $'%10.u' $'2147483647'
|
||
|
testprintfintstar $'%1.*u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%5.*u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%10.*u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.1u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.5u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.10u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.1u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.5u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.10u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.1u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.5u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.10u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.1u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.5u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.10u' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.u' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.1u' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.5u' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.10u' $'0' $'2147483647'
|
||
|
testprintfintstar $'%1.*u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%5.*u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%10.*u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.1u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.5u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.10u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.1u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.5u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.10u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.1u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.5u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.10u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.1u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.5u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.10u' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.u' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.1u' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.5u' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.10u' $'1' $'2147483647'
|
||
|
testprintfintstar $'%1.*u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%5.*u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%10.*u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.1u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.5u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.10u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.1u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.5u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.10u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.1u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.5u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.10u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.1u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.5u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.10u' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.u' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.1u' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.5u' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.10u' $'10' $'2147483647'
|
||
|
testprintfintstar $'%1.*u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%5.*u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%10.*u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.1u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.5u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.10u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.1u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.5u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.10u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.1u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.5u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.10u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.1u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.5u' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.10u' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.u' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.1u' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.5u' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.10u' $'20' $'2147483647'
|
||
|
testprintfint $'%1.u' $'4294967295'
|
||
|
testprintfint $'%5.u' $'4294967295'
|
||
|
testprintfint $'%10.u' $'4294967295'
|
||
|
testprintfintstar $'%1.*u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%5.*u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%10.*u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.1u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.5u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.10u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.1u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.5u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.10u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.1u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.5u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.10u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.1u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.5u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.10u' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.u' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.1u' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.5u' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.10u' $'0' $'4294967295'
|
||
|
testprintfintstar $'%1.*u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%5.*u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%10.*u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.1u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.5u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.10u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.1u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.5u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.10u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.1u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.5u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.10u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.1u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.5u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.10u' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.u' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.1u' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.5u' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.10u' $'1' $'4294967295'
|
||
|
testprintfintstar $'%1.*u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%5.*u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%10.*u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.1u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.5u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.10u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.1u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.5u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.10u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.1u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.5u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.10u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.1u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.5u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.10u' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.u' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.1u' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.5u' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.10u' $'10' $'4294967295'
|
||
|
testprintfintstar $'%1.*u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%5.*u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%10.*u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.1u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.5u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.10u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.1u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.5u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.10u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.1u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.5u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.10u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.1u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.5u' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.10u' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.u' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.1u' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.5u' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.10u' $'20' $'4294967295'
|
||
|
testprintfint $'%1.x' $'0'
|
||
|
testprintfint $'%5.x' $'0'
|
||
|
testprintfint $'%10.x' $'0'
|
||
|
testprintfintstar $'%1.*x' $'0' $'0'
|
||
|
testprintfintstar $'%5.*x' $'0' $'0'
|
||
|
testprintfintstar $'%10.*x' $'0' $'0'
|
||
|
testprintfintstar $'%*.x' $'0' $'0'
|
||
|
testprintfintstar $'%*.1x' $'0' $'0'
|
||
|
testprintfintstar $'%*.5x' $'0' $'0'
|
||
|
testprintfintstar $'%*.10x' $'0' $'0'
|
||
|
testprintfintstar $'%-*.x' $'0' $'0'
|
||
|
testprintfintstar $'%-*.1x' $'0' $'0'
|
||
|
testprintfintstar $'%-*.5x' $'0' $'0'
|
||
|
testprintfintstar $'%-*.10x' $'0' $'0'
|
||
|
testprintfintstar $'%0*.x' $'0' $'0'
|
||
|
testprintfintstar $'%0*.1x' $'0' $'0'
|
||
|
testprintfintstar $'%0*.5x' $'0' $'0'
|
||
|
testprintfintstar $'%0*.10x' $'0' $'0'
|
||
|
testprintfintstar $'%+*.x' $'0' $'0'
|
||
|
testprintfintstar $'%+*.1x' $'0' $'0'
|
||
|
testprintfintstar $'%+*.5x' $'0' $'0'
|
||
|
testprintfintstar $'%+*.10x' $'0' $'0'
|
||
|
testprintfintstar $'% *.x' $'0' $'0'
|
||
|
testprintfintstar $'% *.1x' $'0' $'0'
|
||
|
testprintfintstar $'% *.5x' $'0' $'0'
|
||
|
testprintfintstar $'% *.10x' $'0' $'0'
|
||
|
testprintfintstar $'%1.*x' $'1' $'0'
|
||
|
testprintfintstar $'%5.*x' $'1' $'0'
|
||
|
testprintfintstar $'%10.*x' $'1' $'0'
|
||
|
testprintfintstar $'%*.x' $'1' $'0'
|
||
|
testprintfintstar $'%*.1x' $'1' $'0'
|
||
|
testprintfintstar $'%*.5x' $'1' $'0'
|
||
|
testprintfintstar $'%*.10x' $'1' $'0'
|
||
|
testprintfintstar $'%-*.x' $'1' $'0'
|
||
|
testprintfintstar $'%-*.1x' $'1' $'0'
|
||
|
testprintfintstar $'%-*.5x' $'1' $'0'
|
||
|
testprintfintstar $'%-*.10x' $'1' $'0'
|
||
|
testprintfintstar $'%0*.x' $'1' $'0'
|
||
|
testprintfintstar $'%0*.1x' $'1' $'0'
|
||
|
testprintfintstar $'%0*.5x' $'1' $'0'
|
||
|
testprintfintstar $'%0*.10x' $'1' $'0'
|
||
|
testprintfintstar $'%+*.x' $'1' $'0'
|
||
|
testprintfintstar $'%+*.1x' $'1' $'0'
|
||
|
testprintfintstar $'%+*.5x' $'1' $'0'
|
||
|
testprintfintstar $'%+*.10x' $'1' $'0'
|
||
|
testprintfintstar $'% *.x' $'1' $'0'
|
||
|
testprintfintstar $'% *.1x' $'1' $'0'
|
||
|
testprintfintstar $'% *.5x' $'1' $'0'
|
||
|
testprintfintstar $'% *.10x' $'1' $'0'
|
||
|
testprintfintstar $'%1.*x' $'10' $'0'
|
||
|
testprintfintstar $'%5.*x' $'10' $'0'
|
||
|
testprintfintstar $'%10.*x' $'10' $'0'
|
||
|
testprintfintstar $'%*.x' $'10' $'0'
|
||
|
testprintfintstar $'%*.1x' $'10' $'0'
|
||
|
testprintfintstar $'%*.5x' $'10' $'0'
|
||
|
testprintfintstar $'%*.10x' $'10' $'0'
|
||
|
testprintfintstar $'%-*.x' $'10' $'0'
|
||
|
testprintfintstar $'%-*.1x' $'10' $'0'
|
||
|
testprintfintstar $'%-*.5x' $'10' $'0'
|
||
|
testprintfintstar $'%-*.10x' $'10' $'0'
|
||
|
testprintfintstar $'%0*.x' $'10' $'0'
|
||
|
testprintfintstar $'%0*.1x' $'10' $'0'
|
||
|
testprintfintstar $'%0*.5x' $'10' $'0'
|
||
|
testprintfintstar $'%0*.10x' $'10' $'0'
|
||
|
testprintfintstar $'%+*.x' $'10' $'0'
|
||
|
testprintfintstar $'%+*.1x' $'10' $'0'
|
||
|
testprintfintstar $'%+*.5x' $'10' $'0'
|
||
|
testprintfintstar $'%+*.10x' $'10' $'0'
|
||
|
testprintfintstar $'% *.x' $'10' $'0'
|
||
|
testprintfintstar $'% *.1x' $'10' $'0'
|
||
|
testprintfintstar $'% *.5x' $'10' $'0'
|
||
|
testprintfintstar $'% *.10x' $'10' $'0'
|
||
|
testprintfintstar $'%1.*x' $'20' $'0'
|
||
|
testprintfintstar $'%5.*x' $'20' $'0'
|
||
|
testprintfintstar $'%10.*x' $'20' $'0'
|
||
|
testprintfintstar $'%*.x' $'20' $'0'
|
||
|
testprintfintstar $'%*.1x' $'20' $'0'
|
||
|
testprintfintstar $'%*.5x' $'20' $'0'
|
||
|
testprintfintstar $'%*.10x' $'20' $'0'
|
||
|
testprintfintstar $'%-*.x' $'20' $'0'
|
||
|
testprintfintstar $'%-*.1x' $'20' $'0'
|
||
|
testprintfintstar $'%-*.5x' $'20' $'0'
|
||
|
testprintfintstar $'%-*.10x' $'20' $'0'
|
||
|
testprintfintstar $'%0*.x' $'20' $'0'
|
||
|
testprintfintstar $'%0*.1x' $'20' $'0'
|
||
|
testprintfintstar $'%0*.5x' $'20' $'0'
|
||
|
testprintfintstar $'%0*.10x' $'20' $'0'
|
||
|
testprintfintstar $'%+*.x' $'20' $'0'
|
||
|
testprintfintstar $'%+*.1x' $'20' $'0'
|
||
|
testprintfintstar $'%+*.5x' $'20' $'0'
|
||
|
testprintfintstar $'%+*.10x' $'20' $'0'
|
||
|
testprintfintstar $'% *.x' $'20' $'0'
|
||
|
testprintfintstar $'% *.1x' $'20' $'0'
|
||
|
testprintfintstar $'% *.5x' $'20' $'0'
|
||
|
testprintfintstar $'% *.10x' $'20' $'0'
|
||
|
testprintfint $'%1.x' $'2147483647'
|
||
|
testprintfint $'%5.x' $'2147483647'
|
||
|
testprintfint $'%10.x' $'2147483647'
|
||
|
testprintfintstar $'%1.*x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%5.*x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%10.*x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.1x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.5x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.10x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.1x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.5x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.10x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.1x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.5x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.10x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.1x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.5x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.10x' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.x' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.1x' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.5x' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.10x' $'0' $'2147483647'
|
||
|
testprintfintstar $'%1.*x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%5.*x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%10.*x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.1x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.5x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.10x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.1x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.5x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.10x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.1x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.5x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.10x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.1x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.5x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.10x' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.x' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.1x' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.5x' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.10x' $'1' $'2147483647'
|
||
|
testprintfintstar $'%1.*x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%5.*x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%10.*x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.1x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.5x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.10x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.1x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.5x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.10x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.1x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.5x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.10x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.1x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.5x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.10x' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.x' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.1x' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.5x' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.10x' $'10' $'2147483647'
|
||
|
testprintfintstar $'%1.*x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%5.*x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%10.*x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.1x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.5x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.10x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.1x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.5x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.10x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.1x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.5x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.10x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.1x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.5x' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.10x' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.x' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.1x' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.5x' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.10x' $'20' $'2147483647'
|
||
|
testprintfint $'%1.x' $'4294967295'
|
||
|
testprintfint $'%5.x' $'4294967295'
|
||
|
testprintfint $'%10.x' $'4294967295'
|
||
|
testprintfintstar $'%1.*x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%5.*x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%10.*x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.1x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.5x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.10x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.1x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.5x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.10x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.1x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.5x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.10x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.1x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.5x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.10x' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.x' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.1x' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.5x' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.10x' $'0' $'4294967295'
|
||
|
testprintfintstar $'%1.*x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%5.*x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%10.*x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.1x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.5x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.10x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.1x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.5x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.10x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.1x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.5x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.10x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.1x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.5x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.10x' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.x' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.1x' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.5x' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.10x' $'1' $'4294967295'
|
||
|
testprintfintstar $'%1.*x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%5.*x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%10.*x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.1x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.5x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.10x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.1x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.5x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.10x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.1x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.5x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.10x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.1x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.5x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.10x' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.x' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.1x' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.5x' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.10x' $'10' $'4294967295'
|
||
|
testprintfintstar $'%1.*x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%5.*x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%10.*x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.1x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.5x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.10x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.1x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.5x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.10x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.1x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.5x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.10x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.1x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.5x' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.10x' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.x' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.1x' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.5x' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.10x' $'20' $'4294967295'
|
||
|
testprintfint $'%1.X' $'0'
|
||
|
testprintfint $'%5.X' $'0'
|
||
|
testprintfint $'%10.X' $'0'
|
||
|
testprintfintstar $'%1.*X' $'0' $'0'
|
||
|
testprintfintstar $'%5.*X' $'0' $'0'
|
||
|
testprintfintstar $'%10.*X' $'0' $'0'
|
||
|
testprintfintstar $'%*.X' $'0' $'0'
|
||
|
testprintfintstar $'%*.1X' $'0' $'0'
|
||
|
testprintfintstar $'%*.5X' $'0' $'0'
|
||
|
testprintfintstar $'%*.10X' $'0' $'0'
|
||
|
testprintfintstar $'%-*.X' $'0' $'0'
|
||
|
testprintfintstar $'%-*.1X' $'0' $'0'
|
||
|
testprintfintstar $'%-*.5X' $'0' $'0'
|
||
|
testprintfintstar $'%-*.10X' $'0' $'0'
|
||
|
testprintfintstar $'%0*.X' $'0' $'0'
|
||
|
testprintfintstar $'%0*.1X' $'0' $'0'
|
||
|
testprintfintstar $'%0*.5X' $'0' $'0'
|
||
|
testprintfintstar $'%0*.10X' $'0' $'0'
|
||
|
testprintfintstar $'%+*.X' $'0' $'0'
|
||
|
testprintfintstar $'%+*.1X' $'0' $'0'
|
||
|
testprintfintstar $'%+*.5X' $'0' $'0'
|
||
|
testprintfintstar $'%+*.10X' $'0' $'0'
|
||
|
testprintfintstar $'% *.X' $'0' $'0'
|
||
|
testprintfintstar $'% *.1X' $'0' $'0'
|
||
|
testprintfintstar $'% *.5X' $'0' $'0'
|
||
|
testprintfintstar $'% *.10X' $'0' $'0'
|
||
|
testprintfintstar $'%1.*X' $'1' $'0'
|
||
|
testprintfintstar $'%5.*X' $'1' $'0'
|
||
|
testprintfintstar $'%10.*X' $'1' $'0'
|
||
|
testprintfintstar $'%*.X' $'1' $'0'
|
||
|
testprintfintstar $'%*.1X' $'1' $'0'
|
||
|
testprintfintstar $'%*.5X' $'1' $'0'
|
||
|
testprintfintstar $'%*.10X' $'1' $'0'
|
||
|
testprintfintstar $'%-*.X' $'1' $'0'
|
||
|
testprintfintstar $'%-*.1X' $'1' $'0'
|
||
|
testprintfintstar $'%-*.5X' $'1' $'0'
|
||
|
testprintfintstar $'%-*.10X' $'1' $'0'
|
||
|
testprintfintstar $'%0*.X' $'1' $'0'
|
||
|
testprintfintstar $'%0*.1X' $'1' $'0'
|
||
|
testprintfintstar $'%0*.5X' $'1' $'0'
|
||
|
testprintfintstar $'%0*.10X' $'1' $'0'
|
||
|
testprintfintstar $'%+*.X' $'1' $'0'
|
||
|
testprintfintstar $'%+*.1X' $'1' $'0'
|
||
|
testprintfintstar $'%+*.5X' $'1' $'0'
|
||
|
testprintfintstar $'%+*.10X' $'1' $'0'
|
||
|
testprintfintstar $'% *.X' $'1' $'0'
|
||
|
testprintfintstar $'% *.1X' $'1' $'0'
|
||
|
testprintfintstar $'% *.5X' $'1' $'0'
|
||
|
testprintfintstar $'% *.10X' $'1' $'0'
|
||
|
testprintfintstar $'%1.*X' $'10' $'0'
|
||
|
testprintfintstar $'%5.*X' $'10' $'0'
|
||
|
testprintfintstar $'%10.*X' $'10' $'0'
|
||
|
testprintfintstar $'%*.X' $'10' $'0'
|
||
|
testprintfintstar $'%*.1X' $'10' $'0'
|
||
|
testprintfintstar $'%*.5X' $'10' $'0'
|
||
|
testprintfintstar $'%*.10X' $'10' $'0'
|
||
|
testprintfintstar $'%-*.X' $'10' $'0'
|
||
|
testprintfintstar $'%-*.1X' $'10' $'0'
|
||
|
testprintfintstar $'%-*.5X' $'10' $'0'
|
||
|
testprintfintstar $'%-*.10X' $'10' $'0'
|
||
|
testprintfintstar $'%0*.X' $'10' $'0'
|
||
|
testprintfintstar $'%0*.1X' $'10' $'0'
|
||
|
testprintfintstar $'%0*.5X' $'10' $'0'
|
||
|
testprintfintstar $'%0*.10X' $'10' $'0'
|
||
|
testprintfintstar $'%+*.X' $'10' $'0'
|
||
|
testprintfintstar $'%+*.1X' $'10' $'0'
|
||
|
testprintfintstar $'%+*.5X' $'10' $'0'
|
||
|
testprintfintstar $'%+*.10X' $'10' $'0'
|
||
|
testprintfintstar $'% *.X' $'10' $'0'
|
||
|
testprintfintstar $'% *.1X' $'10' $'0'
|
||
|
testprintfintstar $'% *.5X' $'10' $'0'
|
||
|
testprintfintstar $'% *.10X' $'10' $'0'
|
||
|
testprintfintstar $'%1.*X' $'20' $'0'
|
||
|
testprintfintstar $'%5.*X' $'20' $'0'
|
||
|
testprintfintstar $'%10.*X' $'20' $'0'
|
||
|
testprintfintstar $'%*.X' $'20' $'0'
|
||
|
testprintfintstar $'%*.1X' $'20' $'0'
|
||
|
testprintfintstar $'%*.5X' $'20' $'0'
|
||
|
testprintfintstar $'%*.10X' $'20' $'0'
|
||
|
testprintfintstar $'%-*.X' $'20' $'0'
|
||
|
testprintfintstar $'%-*.1X' $'20' $'0'
|
||
|
testprintfintstar $'%-*.5X' $'20' $'0'
|
||
|
testprintfintstar $'%-*.10X' $'20' $'0'
|
||
|
testprintfintstar $'%0*.X' $'20' $'0'
|
||
|
testprintfintstar $'%0*.1X' $'20' $'0'
|
||
|
testprintfintstar $'%0*.5X' $'20' $'0'
|
||
|
testprintfintstar $'%0*.10X' $'20' $'0'
|
||
|
testprintfintstar $'%+*.X' $'20' $'0'
|
||
|
testprintfintstar $'%+*.1X' $'20' $'0'
|
||
|
testprintfintstar $'%+*.5X' $'20' $'0'
|
||
|
testprintfintstar $'%+*.10X' $'20' $'0'
|
||
|
testprintfintstar $'% *.X' $'20' $'0'
|
||
|
testprintfintstar $'% *.1X' $'20' $'0'
|
||
|
testprintfintstar $'% *.5X' $'20' $'0'
|
||
|
testprintfintstar $'% *.10X' $'20' $'0'
|
||
|
testprintfint $'%1.X' $'2147483647'
|
||
|
testprintfint $'%5.X' $'2147483647'
|
||
|
testprintfint $'%10.X' $'2147483647'
|
||
|
testprintfintstar $'%1.*X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%5.*X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%10.*X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.1X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.5X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*.10X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.1X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.5X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*.10X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.1X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.5X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*.10X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.1X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.5X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%+*.10X' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.X' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.1X' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.5X' $'0' $'2147483647'
|
||
|
testprintfintstar $'% *.10X' $'0' $'2147483647'
|
||
|
testprintfintstar $'%1.*X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%5.*X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%10.*X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.1X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.5X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*.10X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.1X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.5X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*.10X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.1X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.5X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*.10X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.1X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.5X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%+*.10X' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.X' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.1X' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.5X' $'1' $'2147483647'
|
||
|
testprintfintstar $'% *.10X' $'1' $'2147483647'
|
||
|
testprintfintstar $'%1.*X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%5.*X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%10.*X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.1X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.5X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%*.10X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.1X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.5X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%-*.10X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.1X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.5X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%0*.10X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.1X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.5X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%+*.10X' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.X' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.1X' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.5X' $'10' $'2147483647'
|
||
|
testprintfintstar $'% *.10X' $'10' $'2147483647'
|
||
|
testprintfintstar $'%1.*X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%5.*X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%10.*X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.1X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.5X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*.10X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.1X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.5X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*.10X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.1X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.5X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*.10X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.1X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.5X' $'20' $'2147483647'
|
||
|
testprintfintstar $'%+*.10X' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.X' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.1X' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.5X' $'20' $'2147483647'
|
||
|
testprintfintstar $'% *.10X' $'20' $'2147483647'
|
||
|
testprintfint $'%1.X' $'4294967295'
|
||
|
testprintfint $'%5.X' $'4294967295'
|
||
|
testprintfint $'%10.X' $'4294967295'
|
||
|
testprintfintstar $'%1.*X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%5.*X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%10.*X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.1X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.5X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%*.10X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.1X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.5X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%-*.10X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.1X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.5X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%0*.10X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.1X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.5X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%+*.10X' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.X' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.1X' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.5X' $'0' $'4294967295'
|
||
|
testprintfintstar $'% *.10X' $'0' $'4294967295'
|
||
|
testprintfintstar $'%1.*X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%5.*X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%10.*X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.1X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.5X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%*.10X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.1X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.5X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%-*.10X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.1X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.5X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%0*.10X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.1X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.5X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%+*.10X' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.X' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.1X' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.5X' $'1' $'4294967295'
|
||
|
testprintfintstar $'% *.10X' $'1' $'4294967295'
|
||
|
testprintfintstar $'%1.*X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%5.*X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%10.*X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.1X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.5X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%*.10X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.1X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.5X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%-*.10X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.1X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.5X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%0*.10X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.1X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.5X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%+*.10X' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.X' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.1X' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.5X' $'10' $'4294967295'
|
||
|
testprintfintstar $'% *.10X' $'10' $'4294967295'
|
||
|
testprintfintstar $'%1.*X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%5.*X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%10.*X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.1X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.5X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%*.10X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.1X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.5X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%-*.10X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.1X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.5X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%0*.10X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.1X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.5X' $'20' $'4294967295'
|
||
|
testprintfintstar $'%+*.10X' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.X' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.1X' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.5X' $'20' $'4294967295'
|
||
|
testprintfintstar $'% *.10X' $'20' $'4294967295'
|
||
|
printf "\n"
|
||
|
|
||
|
OMFAULTS=$FAULTS
|
||
|
OMTOTAL=$TOTAL
|
||
|
TOTAL=$(($MTOTAL+$BTOTAL+$OMTOTAL))
|
||
|
FAULTS=$(($MFAULTS+$BFAULTS+$OMFAULTS))
|
||
|
RIGHT=$(($TOTAL-$FAULTS))
|
||
|
OMRIGHT=$(($OMTOTAL-$OMFAULTS))
|
||
|
|
||
|
if [ $LEVEL -lt 3 ]
|
||
|
then
|
||
|
printf "\e[1;31mYou can go a bit higher and aim for the old bonus subject, it will teach you all about floats\e[0;00m\n"
|
||
|
if [ $FAULTS -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;35mBut out of \e[1;36m$TOTAL tests\e[0;35m we got \e[1;32mno errors\e[1;35m, Congratulations\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 0
|
||
|
else
|
||
|
if [ $MFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$MTOTAL tests \e[0;00mwe got \e[1;32m$MRIGHT OKs \e[0;00mand \e[1;31m$MFAULTS KOs \e[0;00min the \e[1;35mMandatory \e[0;00mpart So that really sucks\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$MTOTAL tests \e[1;32min the Mandatory part which is a good start\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $BFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$BTOTAL tests \e[0;00mwe got \e[1;32m$BRIGHT OKs \e[0;00mand \e[1;31m$BFAULTS KOs \e[0;00min the \e[1;35mBonus \e[0;00mpart So that's a bummer\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$BTOTAL tests \e[1;32min the Bonus part which is OK\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $OMFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$OMTOTAL tests \e[0;00mwe got \e[1;32m$OMRIGHT OKs \e[0;00mand \e[1;31m$OMFAULTS KOs \e[0;00min the \e[1;35mOld Mandatory \e[0;00mpart Good thing we are evaluating the new subject\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$OMTOTAL tests \e[1;32min the Old Mandatory part which is good\e[0;00m\n"
|
||
|
fi
|
||
|
printf "\e[0;00mOut of \e[1;36m$TOTAL tests \e[0;00mwe got \e[1;32m$RIGHT OKs \e[0;00mand \e[1;31m$FAULTS KOs\e[0;00m... You can be your own judge\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 1
|
||
|
fi
|
||
|
fi
|
||
|
printf "\e[1;32mOK\e[0;00m"
|
||
|
printf "\n"
|
||
|
|
||
|
FAULTS=0
|
||
|
TOTAL=0
|
||
|
|
||
|
# ft_old_bonus Conversion n
|
||
|
printf "\e[1;36mTesting Old Bonus Conversion n \e[0;00m"
|
||
|
testprintfn $'%n' $'1'
|
||
|
testprintfn $'hallo%n' $'1'
|
||
|
testprintfn $'joehoe%n' $'1'
|
||
|
testprintfn $'123456789%n' $'1'
|
||
|
testprintfn $'blabla%n' $'1'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Conversion f
|
||
|
printf "\e[1;36mTesting Old Bonus Conversion f \e[0;00m"
|
||
|
testprintffloat $'%f' $'0'
|
||
|
testprintffloat $'%f' $'1'
|
||
|
testprintffloat $'%f' $'-1'
|
||
|
testprintffloat $'%f' $'1.12345'
|
||
|
testprintffloat $'%f' $'-1.12345'
|
||
|
testprintffloat $'%f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%f' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%f' $'0.0'
|
||
|
testprintffloat $'%f' $'123.123'
|
||
|
testprintffloat $'%f' $'123.123456'
|
||
|
testprintffloat $'%f' $'123.1234567890'
|
||
|
testprintffloat $'%f' $'123456.1234567890'
|
||
|
testprintffloat $'%f' $'1234567.1234567890'
|
||
|
testprintffloat $'%f' $'12345678.1234567890'
|
||
|
testprintffloat $'%f' $'123456789.1234567890'
|
||
|
testprintffloat $'%f' $'0.00099'
|
||
|
#testprintffloat $'%f' $'INFINITY'
|
||
|
#testprintffloat $'%f' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Conversion g
|
||
|
printf "\e[1;36mTesting Old Bonus Conversion g \e[0;00m"
|
||
|
testprintffloat $'%g' $'0'
|
||
|
testprintffloat $'%g' $'1'
|
||
|
testprintffloat $'%g' $'-1'
|
||
|
testprintffloat $'%g' $'1.12345'
|
||
|
testprintffloat $'%g' $'-1.12345'
|
||
|
testprintffloat $'%g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%g' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%g' $'0.0'
|
||
|
testprintffloat $'%g' $'123.123'
|
||
|
testprintffloat $'%g' $'123.123456'
|
||
|
testprintffloat $'%g' $'123.1234567890'
|
||
|
testprintffloat $'%g' $'123456.1234567890'
|
||
|
testprintffloat $'%g' $'1234567.1234567890'
|
||
|
testprintffloat $'%g' $'12345678.1234567890'
|
||
|
testprintffloat $'%g' $'123456789.1234567890'
|
||
|
testprintffloat $'%g' $'0.00099'
|
||
|
#testprintffloat $'%g' $'INFINITY'
|
||
|
#testprintffloat $'%g' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Conversion e
|
||
|
printf "\e[1;36mTesting Old Bonus Conversion e \e[0;00m"
|
||
|
testprintffloat $'%e' $'0'
|
||
|
testprintffloat $'%e' $'1'
|
||
|
testprintffloat $'%e' $'-1'
|
||
|
testprintffloat $'%e' $'1.12345'
|
||
|
testprintffloat $'%e' $'-1.12345'
|
||
|
testprintffloat $'%e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%e' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%e' $'0.0'
|
||
|
testprintffloat $'%e' $'123.123'
|
||
|
testprintffloat $'%e' $'123.123456'
|
||
|
testprintffloat $'%e' $'123.1234567890'
|
||
|
testprintffloat $'%e' $'123456.1234567890'
|
||
|
testprintffloat $'%e' $'1234567.1234567890'
|
||
|
testprintffloat $'%e' $'12345678.1234567890'
|
||
|
testprintffloat $'%e' $'123456789.1234567890'
|
||
|
testprintffloat $'%e' $'0.00099'
|
||
|
#testprintffloat $'%e' $'INFINITY'
|
||
|
#testprintffloat $'%e' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Flag '-'
|
||
|
printf "\e[1;36mTesting Old Bonus Flag "'-'" \e[0;00m"
|
||
|
testprintfn $'%-n' $'1'
|
||
|
testprintffloat $'%-f' $'0'
|
||
|
testprintffloat $'%-f' $'1'
|
||
|
testprintffloat $'%-f' $'1.12345'
|
||
|
testprintffloat $'%-f' $'-1'
|
||
|
testprintffloat $'%-f' $'-1.12345'
|
||
|
testprintffloat $'%-0f' $'0'
|
||
|
testprintffloat $'%-0f' $'1'
|
||
|
testprintffloat $'%-0f' $'1.12345'
|
||
|
testprintffloat $'%-0f' $'-1'
|
||
|
testprintffloat $'%-0f' $'-1.12345'
|
||
|
testprintffloat $'%-1f' $'0'
|
||
|
testprintffloat $'%-1f' $'1'
|
||
|
testprintffloat $'%-1f' $'1.12345'
|
||
|
testprintffloat $'%-1f' $'-1'
|
||
|
testprintffloat $'%-1f' $'-1.12345'
|
||
|
testprintffloat $'%-10f' $'0'
|
||
|
testprintffloat $'%-10f' $'1'
|
||
|
testprintffloat $'%-10f' $'1.12345'
|
||
|
testprintffloat $'%-10f' $'-1'
|
||
|
testprintffloat $'%-10f' $'-1.12345'
|
||
|
testprintffloat $'%-20f' $'0'
|
||
|
testprintffloat $'%-20f' $'1'
|
||
|
testprintffloat $'%-20f' $'1.12345'
|
||
|
testprintffloat $'%-20f' $'-1'
|
||
|
testprintffloat $'%-20f' $'-1.12345'
|
||
|
#testprintffloat $'%-4f' $'INFINITY'
|
||
|
#testprintffloat $'%-4f' $'NAN'
|
||
|
testprintffloat $'%-g' $'0'
|
||
|
testprintffloat $'%-g' $'1'
|
||
|
testprintffloat $'%-g' $'1.12345'
|
||
|
testprintffloat $'%-g' $'-1'
|
||
|
testprintffloat $'%-g' $'-1.12345'
|
||
|
testprintffloat $'%-0g' $'0'
|
||
|
testprintffloat $'%-0g' $'1'
|
||
|
testprintffloat $'%-0g' $'1.12345'
|
||
|
testprintffloat $'%-0g' $'-1'
|
||
|
testprintffloat $'%-0g' $'-1.12345'
|
||
|
testprintffloat $'%-1g' $'0'
|
||
|
testprintffloat $'%-1g' $'1'
|
||
|
testprintffloat $'%-1g' $'1.12345'
|
||
|
testprintffloat $'%-1g' $'-1'
|
||
|
testprintffloat $'%-1g' $'-1.12345'
|
||
|
testprintffloat $'%-10g' $'0'
|
||
|
testprintffloat $'%-10g' $'1'
|
||
|
testprintffloat $'%-10g' $'1.12345'
|
||
|
testprintffloat $'%-10g' $'-1'
|
||
|
testprintffloat $'%-10g' $'-1.12345'
|
||
|
testprintffloat $'%-20g' $'0'
|
||
|
testprintffloat $'%-20g' $'1'
|
||
|
testprintffloat $'%-20g' $'1.12345'
|
||
|
testprintffloat $'%-20g' $'-1'
|
||
|
testprintffloat $'%-20g' $'-1.12345'
|
||
|
#testprintffloat $'%-4g' $'INFINITY'
|
||
|
#testprintffloat $'%-4g' $'NAN'
|
||
|
testprintffloat $'%-e' $'0'
|
||
|
testprintffloat $'%-e' $'1'
|
||
|
testprintffloat $'%-e' $'1.12345'
|
||
|
testprintffloat $'%-e' $'-1'
|
||
|
testprintffloat $'%-e' $'-1.12345'
|
||
|
testprintffloat $'%-0e' $'0'
|
||
|
testprintffloat $'%-0e' $'1'
|
||
|
testprintffloat $'%-0e' $'1.12345'
|
||
|
testprintffloat $'%-0e' $'-1'
|
||
|
testprintffloat $'%-0e' $'-1.12345'
|
||
|
testprintffloat $'%-1e' $'0'
|
||
|
testprintffloat $'%-1e' $'1'
|
||
|
testprintffloat $'%-1e' $'1.12345'
|
||
|
testprintffloat $'%-1e' $'-1'
|
||
|
testprintffloat $'%-1e' $'-1.12345'
|
||
|
testprintffloat $'%-10e' $'0'
|
||
|
testprintffloat $'%-10e' $'1'
|
||
|
testprintffloat $'%-10e' $'1.12345'
|
||
|
testprintffloat $'%-10e' $'-1'
|
||
|
testprintffloat $'%-10e' $'-1.12345'
|
||
|
testprintffloat $'%-20e' $'0'
|
||
|
testprintffloat $'%-20e' $'1'
|
||
|
testprintffloat $'%-20e' $'1.12345'
|
||
|
testprintffloat $'%-20e' $'-1'
|
||
|
testprintffloat $'%-20e' $'-1.12345'
|
||
|
#testprintffloat $'%-4e' $'INFINITY'
|
||
|
#testprintffloat $'%-4e' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Flag '0'
|
||
|
printf "\e[1;36mTesting Old Bonus Flag "'0'" \e[0;00m"
|
||
|
testprintfn $'%0n' $'1'
|
||
|
testprintffloat $'%0f' $'0'
|
||
|
testprintffloat $'%0f' $'1'
|
||
|
testprintffloat $'%0f' $'1.12345'
|
||
|
testprintffloat $'%0f' $'-1'
|
||
|
testprintffloat $'%0f' $'-1.12345'
|
||
|
testprintffloat $'%00f' $'0'
|
||
|
testprintffloat $'%00f' $'1'
|
||
|
testprintffloat $'%00f' $'1.12345'
|
||
|
testprintffloat $'%00f' $'-1'
|
||
|
testprintffloat $'%00f' $'-1.12345'
|
||
|
testprintffloat $'%01f' $'0'
|
||
|
testprintffloat $'%01f' $'1'
|
||
|
testprintffloat $'%01f' $'1.12345'
|
||
|
testprintffloat $'%01f' $'-1'
|
||
|
testprintffloat $'%01f' $'-1.12345'
|
||
|
testprintffloat $'%010f' $'0'
|
||
|
testprintffloat $'%010f' $'1'
|
||
|
testprintffloat $'%010f' $'1.12345'
|
||
|
testprintffloat $'%010f' $'-1'
|
||
|
testprintffloat $'%010f' $'-1.12345'
|
||
|
testprintffloat $'%020f' $'0'
|
||
|
testprintffloat $'%020f' $'1'
|
||
|
testprintffloat $'%020f' $'1.12345'
|
||
|
testprintffloat $'%020f' $'-1'
|
||
|
testprintffloat $'%020f' $'-1.12345'
|
||
|
#testprintffloat $'%04f' $'INFINITY'
|
||
|
#testprintffloat $'%04f' $'NAN'
|
||
|
testprintffloat $'%0g' $'0'
|
||
|
testprintffloat $'%0g' $'1'
|
||
|
testprintffloat $'%0g' $'1.12345'
|
||
|
testprintffloat $'%0g' $'-1'
|
||
|
testprintffloat $'%0g' $'-1.12345'
|
||
|
testprintffloat $'%00g' $'0'
|
||
|
testprintffloat $'%00g' $'1'
|
||
|
testprintffloat $'%00g' $'1.12345'
|
||
|
testprintffloat $'%00g' $'-1'
|
||
|
testprintffloat $'%00g' $'-1.12345'
|
||
|
testprintffloat $'%01g' $'0'
|
||
|
testprintffloat $'%01g' $'1'
|
||
|
testprintffloat $'%01g' $'1.12345'
|
||
|
testprintffloat $'%01g' $'-1'
|
||
|
testprintffloat $'%01g' $'-1.12345'
|
||
|
testprintffloat $'%010g' $'0'
|
||
|
testprintffloat $'%010g' $'1'
|
||
|
testprintffloat $'%010g' $'1.12345'
|
||
|
testprintffloat $'%010g' $'-1'
|
||
|
testprintffloat $'%010g' $'-1.12345'
|
||
|
testprintffloat $'%020g' $'0'
|
||
|
testprintffloat $'%020g' $'1'
|
||
|
testprintffloat $'%020g' $'1.12345'
|
||
|
testprintffloat $'%020g' $'-1'
|
||
|
testprintffloat $'%020g' $'-1.12345'
|
||
|
#testprintffloat $'%04g' $'INFINITY'
|
||
|
#testprintffloat $'%04g' $'NAN'
|
||
|
testprintffloat $'%0e' $'0'
|
||
|
testprintffloat $'%0e' $'1'
|
||
|
testprintffloat $'%0e' $'1.12345'
|
||
|
testprintffloat $'%0e' $'-1'
|
||
|
testprintffloat $'%0e' $'-1.12345'
|
||
|
testprintffloat $'%00e' $'0'
|
||
|
testprintffloat $'%00e' $'1'
|
||
|
testprintffloat $'%00e' $'1.12345'
|
||
|
testprintffloat $'%00e' $'-1'
|
||
|
testprintffloat $'%00e' $'-1.12345'
|
||
|
testprintffloat $'%01e' $'0'
|
||
|
testprintffloat $'%01e' $'1'
|
||
|
testprintffloat $'%01e' $'1.12345'
|
||
|
testprintffloat $'%01e' $'-1'
|
||
|
testprintffloat $'%01e' $'-1.12345'
|
||
|
testprintffloat $'%010e' $'0'
|
||
|
testprintffloat $'%010e' $'1'
|
||
|
testprintffloat $'%010e' $'1.12345'
|
||
|
testprintffloat $'%010e' $'-1'
|
||
|
testprintffloat $'%010e' $'-1.12345'
|
||
|
testprintffloat $'%020e' $'0'
|
||
|
testprintffloat $'%020e' $'1'
|
||
|
testprintffloat $'%020e' $'1.12345'
|
||
|
testprintffloat $'%020e' $'-1'
|
||
|
testprintffloat $'%020e' $'-1.12345'
|
||
|
#testprintffloat $'%04e' $'INFINITY'
|
||
|
#testprintffloat $'%04e' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Flag '.'
|
||
|
printf "\e[1;36mTesting Old Bonus Flag "'.'" \e[0;00m"
|
||
|
testprintfn $'%.n' $'1'
|
||
|
testprintffloat $'%.f' $'0'
|
||
|
testprintffloat $'%.f' $'1'
|
||
|
testprintffloat $'%.f' $'1.12345'
|
||
|
testprintffloat $'%.f' $'-1'
|
||
|
testprintffloat $'%.f' $'-1.12345'
|
||
|
testprintffloat $'%.0f' $'0'
|
||
|
testprintffloat $'%.0f' $'1'
|
||
|
testprintffloat $'%.0f' $'1.12345'
|
||
|
testprintffloat $'%.0f' $'-1'
|
||
|
testprintffloat $'%.0f' $'-1.12345'
|
||
|
testprintffloat $'%.1f' $'0'
|
||
|
testprintffloat $'%.1f' $'1'
|
||
|
testprintffloat $'%.1f' $'1.12345'
|
||
|
testprintffloat $'%.1f' $'-1'
|
||
|
testprintffloat $'%.1f' $'-1.12345'
|
||
|
testprintffloat $'%.10f' $'0'
|
||
|
testprintffloat $'%.10f' $'1'
|
||
|
testprintffloat $'%.10f' $'1.12345'
|
||
|
testprintffloat $'%.10f' $'-1'
|
||
|
testprintffloat $'%.10f' $'-1.12345'
|
||
|
testprintffloat $'%.20f' $'0'
|
||
|
testprintffloat $'%.20f' $'1'
|
||
|
testprintffloat $'%.20f' $'1.12345'
|
||
|
testprintffloat $'%.20f' $'-1'
|
||
|
testprintffloat $'%.20f' $'-1.12345'
|
||
|
testprintffloat $'%.3f 1.99999'
|
||
|
testprintffloat $'%.3f' $'1.19999'
|
||
|
testprintffloat $'%.3f' $'12.99999'
|
||
|
testprintffloat $'%.0f' $'12.99999'
|
||
|
testprintffloat $'%.3f' $'-1.99999'
|
||
|
testprintffloat $'%.3f' $'-1.199999'
|
||
|
testprintffloat $'%.3f' $'-12.99999'
|
||
|
testprintffloat $'%.0f' $'-12.99999'
|
||
|
testprintffloat $'%.3f' $'-0.00999'
|
||
|
testprintffloat $'%.f' $'0.00099'
|
||
|
testprintffloat $'%.3f' $'-0.00999'
|
||
|
testprintffloat $'%.3f' $'0.00999'
|
||
|
testprintffloat $'%.3f' $'9.9999'
|
||
|
testprintffloat $'%.3f' $'9.995'
|
||
|
testprintffloat $'%.3f' $'9.9995'
|
||
|
testprintffloat $'%.3f' $'9.99995'
|
||
|
testprintffloat $'%.30f' $'0.0'
|
||
|
testprintffloat $'%.12f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.0f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.1f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.2f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.8f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.9f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.10f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.11f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.25f' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3f' $'123.123'
|
||
|
testprintffloat $'%.3f' $'123.123123'
|
||
|
testprintffloat $'%.3f' $'1234.123123'
|
||
|
testprintffloat $'%.3f' $'-123.123123'
|
||
|
testprintffloat $'%.3f' $'-1234.123123'
|
||
|
testprintffloat $'%.30f' $'0.0'
|
||
|
#testprintffloat $'%.10f' $'NAN'
|
||
|
#testprintffloat $'%.10f' $'INFINITY'
|
||
|
testprintffloat $'%.g' $'0'
|
||
|
testprintffloat $'%.g' $'1'
|
||
|
testprintffloat $'%.g' $'1.12345'
|
||
|
testprintffloat $'%.g' $'-1'
|
||
|
testprintffloat $'%.g' $'-1.12345'
|
||
|
testprintffloat $'%.0g' $'0'
|
||
|
testprintffloat $'%.0g' $'1'
|
||
|
testprintffloat $'%.0g' $'1.12345'
|
||
|
testprintffloat $'%.0g' $'-1'
|
||
|
testprintffloat $'%.0g' $'-1.12345'
|
||
|
testprintffloat $'%.1g' $'0'
|
||
|
testprintffloat $'%.1g' $'1'
|
||
|
testprintffloat $'%.1g' $'1.12345'
|
||
|
testprintffloat $'%.1g' $'-1'
|
||
|
testprintffloat $'%.1g' $'-1.12345'
|
||
|
testprintffloat $'%.10g' $'0'
|
||
|
testprintffloat $'%.10g' $'1'
|
||
|
testprintffloat $'%.10g' $'1.12345'
|
||
|
testprintffloat $'%.10g' $'-1'
|
||
|
testprintffloat $'%.10g' $'-1.12345'
|
||
|
testprintffloat $'%.20g' $'0'
|
||
|
testprintffloat $'%.20g' $'1'
|
||
|
testprintffloat $'%.20g' $'1.12345'
|
||
|
testprintffloat $'%.20g' $'-1'
|
||
|
testprintffloat $'%.20g' $'-1.12345'
|
||
|
testprintffloat $'%.3g 1.99999'
|
||
|
testprintffloat $'%.3g' $'1.19999'
|
||
|
testprintffloat $'%.3g' $'12.99999'
|
||
|
testprintffloat $'%.0g' $'12.99999'
|
||
|
testprintffloat $'%.3g' $'-1.99999'
|
||
|
testprintffloat $'%.3g' $'-1.199999'
|
||
|
testprintffloat $'%.3g' $'-12.99999'
|
||
|
testprintffloat $'%.0g' $'-12.99999'
|
||
|
testprintffloat $'%.3g' $'-0.00999'
|
||
|
testprintffloat $'%.g' $'0.00099'
|
||
|
testprintffloat $'%.3g' $'-0.00999'
|
||
|
testprintffloat $'%.3g' $'0.00999'
|
||
|
testprintffloat $'%.3g' $'9.9999'
|
||
|
testprintffloat $'%.3g' $'9.995'
|
||
|
testprintffloat $'%.3g' $'9.9995'
|
||
|
testprintffloat $'%.3g' $'9.99995'
|
||
|
testprintffloat $'%.30g' $'0.0'
|
||
|
testprintffloat $'%.12g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.0g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.1g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.2g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.8g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.9g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.10g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.11g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.25g' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3g' $'123.123'
|
||
|
testprintffloat $'%.3g' $'123.123123'
|
||
|
testprintffloat $'%.3g' $'1234.123123'
|
||
|
testprintffloat $'%.3g' $'-123.123123'
|
||
|
testprintffloat $'%.3g' $'-1234.123123'
|
||
|
testprintffloat $'%.30g' $'0.0'
|
||
|
#testprintffloat $'%.10g' $'NAN'
|
||
|
#testprintffloat $'%.10g' $'INFINITY'
|
||
|
testprintffloat $'%.e' $'0'
|
||
|
testprintffloat $'%.e' $'1'
|
||
|
testprintffloat $'%.e' $'1.12345'
|
||
|
testprintffloat $'%.e' $'-1'
|
||
|
testprintffloat $'%.e' $'-1.12345'
|
||
|
testprintffloat $'%.0e' $'0'
|
||
|
testprintffloat $'%.0e' $'1'
|
||
|
testprintffloat $'%.0e' $'1.12345'
|
||
|
testprintffloat $'%.0e' $'-1'
|
||
|
testprintffloat $'%.0e' $'-1.12345'
|
||
|
testprintffloat $'%.1e' $'0'
|
||
|
testprintffloat $'%.1e' $'1'
|
||
|
testprintffloat $'%.1e' $'1.12345'
|
||
|
testprintffloat $'%.1e' $'-1'
|
||
|
testprintffloat $'%.1e' $'-1.12345'
|
||
|
testprintffloat $'%.10e' $'0'
|
||
|
testprintffloat $'%.10e' $'1'
|
||
|
testprintffloat $'%.10e' $'1.12345'
|
||
|
testprintffloat $'%.10e' $'-1'
|
||
|
testprintffloat $'%.10e' $'-1.12345'
|
||
|
testprintffloat $'%.20e' $'0'
|
||
|
testprintffloat $'%.20e' $'1'
|
||
|
testprintffloat $'%.20e' $'1.12345'
|
||
|
testprintffloat $'%.20e' $'-1'
|
||
|
testprintffloat $'%.20e' $'-1.12345'
|
||
|
testprintffloat $'%.3e 1.99999'
|
||
|
testprintffloat $'%.3e' $'1.19999'
|
||
|
testprintffloat $'%.3e' $'12.99999'
|
||
|
testprintffloat $'%.0e' $'12.99999'
|
||
|
testprintffloat $'%.3e' $'-1.99999'
|
||
|
testprintffloat $'%.3e' $'-1.199999'
|
||
|
testprintffloat $'%.3e' $'-12.99999'
|
||
|
testprintffloat $'%.0e' $'-12.99999'
|
||
|
testprintffloat $'%.3e' $'-0.00999'
|
||
|
testprintffloat $'%.e' $'0.00099'
|
||
|
testprintffloat $'%.3e' $'-0.00999'
|
||
|
testprintffloat $'%.3e' $'0.00999'
|
||
|
testprintffloat $'%.3e' $'9.9999'
|
||
|
testprintffloat $'%.3e' $'9.995'
|
||
|
testprintffloat $'%.3e' $'9.9995'
|
||
|
testprintffloat $'%.3e' $'9.99995'
|
||
|
testprintffloat $'%.30e' $'0.0'
|
||
|
testprintffloat $'%.12e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.0e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.1e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.2e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.8e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.9e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.10e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.11e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.25e' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3e' $'123.123'
|
||
|
testprintffloat $'%.3e' $'123.123123'
|
||
|
testprintffloat $'%.3e' $'1234.123123'
|
||
|
testprintffloat $'%.3e' $'-123.123123'
|
||
|
testprintffloat $'%.3e' $'-1234.123123'
|
||
|
testprintffloat $'%.30e' $'0.0'
|
||
|
#testprintffloat $'%.10e' $'NAN'
|
||
|
#testprintffloat $'%.10e' $'INFINITY'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Flag '#'
|
||
|
printf "\e[1;36mTesting Old Bonus Flag "'#'" \e[0;00m"
|
||
|
testprintfn $'%#n' $'1'
|
||
|
testprintffloat $'%#f' $'0'
|
||
|
testprintffloat $'%#f' $'1'
|
||
|
testprintffloat $'%#f' $'1.12345'
|
||
|
testprintffloat $'%#f' $'-1'
|
||
|
testprintffloat $'%#f' $'-1.12345'
|
||
|
#testprintffloat $'%#f' $'NAN'
|
||
|
#testprintffloat $'%#f' $'INFINITY'
|
||
|
testprintffloat $'%#g' $'0'
|
||
|
testprintffloat $'%#g' $'1'
|
||
|
testprintffloat $'%#g' $'1.12345'
|
||
|
testprintffloat $'%#g' $'-1'
|
||
|
testprintffloat $'%#g' $'-1.12345'
|
||
|
#testprintffloat $'%#g' $'NAN'
|
||
|
#testprintffloat $'%#g' $'INFINITY'
|
||
|
testprintffloat $'%#e' $'0'
|
||
|
testprintffloat $'%#e' $'1'
|
||
|
testprintffloat $'%#e' $'1.12345'
|
||
|
testprintffloat $'%#e' $'-1'
|
||
|
testprintffloat $'%#e' $'-1.12345'
|
||
|
#testprintffloat $'%#e' $'NAN'
|
||
|
#testprintffloat $'%#e' $'INFINITY'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Flag ' '
|
||
|
printf "\e[1;36mTesting Old Bonus Flag "' '" \e[0;00m"
|
||
|
testprintfn $'% n' $'1'
|
||
|
testprintffloat $'% f' $'0'
|
||
|
testprintffloat $'% f' $'1'
|
||
|
testprintffloat $'% f' $'1.12345'
|
||
|
testprintffloat $'% f' $'-1'
|
||
|
testprintffloat $'% f' $'-1.12345'
|
||
|
#testprintffloat $'% f' $'NAN'
|
||
|
#testprintffloat $'% f' $'INFINITY'
|
||
|
testprintffloat $'% g' $'0'
|
||
|
testprintffloat $'% g' $'1'
|
||
|
testprintffloat $'% g' $'1.12345'
|
||
|
testprintffloat $'% g' $'-1'
|
||
|
testprintffloat $'% g' $'-1.12345'
|
||
|
#testprintffloat $'% g' $'NAN'
|
||
|
#testprintffloat $'% g' $'INFINITY'
|
||
|
testprintffloat $'% e' $'0'
|
||
|
testprintffloat $'% e' $'1'
|
||
|
testprintffloat $'% e' $'1.12345'
|
||
|
testprintffloat $'% e' $'-1'
|
||
|
testprintffloat $'% e' $'-1.12345'
|
||
|
#testprintffloat $'% e' $'NAN'
|
||
|
#testprintffloat $'% e' $'INFINITY'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Flag '+'
|
||
|
printf "\e[1;36mTesting Old Bonus Flag "'+'" \e[0;00m"
|
||
|
testprintfn $'%+n' $'1'
|
||
|
testprintffloat $'%+f' $'0'
|
||
|
testprintffloat $'%+f' $'1'
|
||
|
testprintffloat $'%+f' $'1.12345'
|
||
|
testprintffloat $'%+f' $'-1'
|
||
|
testprintffloat $'%+f' $'-1.12345'
|
||
|
#testprintffloat $'%+f' $'NAN'
|
||
|
#testprintffloat $'%+f' $'INFINITY'
|
||
|
testprintffloat $'%+g' $'0'
|
||
|
testprintffloat $'%+g' $'1'
|
||
|
testprintffloat $'%+g' $'1.12345'
|
||
|
testprintffloat $'%+g' $'-1'
|
||
|
testprintffloat $'%+g' $'-1.12345'
|
||
|
#testprintffloat $'%+g' $'NAN'
|
||
|
#testprintffloat $'%+g' $'INFINITY'
|
||
|
testprintffloat $'%+e' $'0'
|
||
|
testprintffloat $'%+e' $'1'
|
||
|
testprintffloat $'%+e' $'1.12345'
|
||
|
testprintffloat $'%+e' $'-1'
|
||
|
testprintffloat $'%+e' $'-1.12345'
|
||
|
#testprintffloat $'%+e' $'NAN'
|
||
|
#testprintffloat $'%+e' $'INFINITY'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Flag '*'
|
||
|
printf "\e[1;36mTesting Old Bonus Flag "'*'" \e[0;00m"
|
||
|
testprintfn $'%*n' $'1'
|
||
|
testprintffloatstar $'%*f' $'0' $'0'
|
||
|
testprintffloatstar $'%*f' $'0' $'1'
|
||
|
testprintffloatstar $'%*f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*f' $'0' $'-1'
|
||
|
testprintffloatstar $'%*f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*f' $'1' $'0'
|
||
|
testprintffloatstar $'%*f' $'1' $'1'
|
||
|
testprintffloatstar $'%*f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*f' $'1' $'-1'
|
||
|
testprintffloatstar $'%*f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*f' $'10' $'0'
|
||
|
testprintffloatstar $'%*f' $'10' $'1'
|
||
|
testprintffloatstar $'%*f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*f' $'10' $'-1'
|
||
|
testprintffloatstar $'%*f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*f' $'0' $'0'
|
||
|
testprintffloatstar $'%-*f' $'0' $'1'
|
||
|
testprintffloatstar $'%-*f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*f' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*f' $'1' $'0'
|
||
|
testprintffloatstar $'%-*f' $'1' $'1'
|
||
|
testprintffloatstar $'%-*f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*f' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*f' $'10' $'0'
|
||
|
testprintffloatstar $'%-*f' $'10' $'1'
|
||
|
testprintffloatstar $'%-*f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*f' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*f' $'0' $'0'
|
||
|
testprintffloatstar $'%0*f' $'0' $'1'
|
||
|
testprintffloatstar $'%0*f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*f' $'0' $'-.'
|
||
|
testprintffloatstar $'%0*f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*f' $'1' $'0'
|
||
|
testprintffloatstar $'%0*f' $'1' $'1'
|
||
|
testprintffloatstar $'%0*f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*f' $'1' $'-.'
|
||
|
testprintffloatstar $'%0*f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*f' $'10' $'0'
|
||
|
testprintffloatstar $'%0*f' $'10' $'1'
|
||
|
testprintffloatstar $'%0*f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*f' $'10' $'-.'
|
||
|
testprintffloatstar $'%0*f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%.*f' $'0' $'0'
|
||
|
testprintffloatstar $'%.*f' $'0' $'1'
|
||
|
testprintffloatstar $'%.*f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%.*f' $'0' $'-1'
|
||
|
testprintffloatstar $'%.*f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%.*f' $'1' $'0'
|
||
|
testprintffloatstar $'%.*f' $'1' $'1'
|
||
|
testprintffloatstar $'%.*f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%.*f' $'1' $'-1'
|
||
|
testprintffloatstar $'%.*f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%.*f' $'10' $'0'
|
||
|
testprintffloatstar $'%.*f' $'10' $'1'
|
||
|
testprintffloatstar $'%.*f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%.*f' $'10' $'-1'
|
||
|
testprintffloatstar $'%.*f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*g' $'0' $'0'
|
||
|
testprintffloatstar $'%*g' $'0' $'1'
|
||
|
testprintffloatstar $'%*g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*g' $'0' $'-1'
|
||
|
testprintffloatstar $'%*g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*g' $'1' $'0'
|
||
|
testprintffloatstar $'%*g' $'1' $'1'
|
||
|
testprintffloatstar $'%*g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*g' $'1' $'-1'
|
||
|
testprintffloatstar $'%*g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*g' $'10' $'0'
|
||
|
testprintffloatstar $'%*g' $'10' $'1'
|
||
|
testprintffloatstar $'%*g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*g' $'10' $'-1'
|
||
|
testprintffloatstar $'%*g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*g' $'0' $'0'
|
||
|
testprintffloatstar $'%-*g' $'0' $'1'
|
||
|
testprintffloatstar $'%-*g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*g' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*g' $'1' $'0'
|
||
|
testprintffloatstar $'%-*g' $'1' $'1'
|
||
|
testprintffloatstar $'%-*g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*g' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*g' $'10' $'0'
|
||
|
testprintffloatstar $'%-*g' $'10' $'1'
|
||
|
testprintffloatstar $'%-*g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*g' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*g' $'0' $'0'
|
||
|
testprintffloatstar $'%0*g' $'0' $'1'
|
||
|
testprintffloatstar $'%0*g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*g' $'0' $'-.'
|
||
|
testprintffloatstar $'%0*g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*g' $'1' $'0'
|
||
|
testprintffloatstar $'%0*g' $'1' $'1'
|
||
|
testprintffloatstar $'%0*g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*g' $'1' $'-.'
|
||
|
testprintffloatstar $'%0*g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*g' $'10' $'0'
|
||
|
testprintffloatstar $'%0*g' $'10' $'1'
|
||
|
testprintffloatstar $'%0*g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*g' $'10' $'-.'
|
||
|
testprintffloatstar $'%0*g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%.*g' $'0' $'0'
|
||
|
testprintffloatstar $'%.*g' $'0' $'1'
|
||
|
testprintffloatstar $'%.*g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%.*g' $'0' $'-1'
|
||
|
testprintffloatstar $'%.*g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%.*g' $'1' $'0'
|
||
|
testprintffloatstar $'%.*g' $'1' $'1'
|
||
|
testprintffloatstar $'%.*g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%.*g' $'1' $'-1'
|
||
|
testprintffloatstar $'%.*g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%.*g' $'10' $'0'
|
||
|
testprintffloatstar $'%.*g' $'10' $'1'
|
||
|
testprintffloatstar $'%.*g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%.*g' $'10' $'-1'
|
||
|
testprintffloatstar $'%.*g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*e' $'0' $'0'
|
||
|
testprintffloatstar $'%*e' $'0' $'1'
|
||
|
testprintffloatstar $'%*e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*e' $'0' $'-1'
|
||
|
testprintffloatstar $'%*e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*e' $'1' $'0'
|
||
|
testprintffloatstar $'%*e' $'1' $'1'
|
||
|
testprintffloatstar $'%*e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*e' $'1' $'-1'
|
||
|
testprintffloatstar $'%*e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*e' $'10' $'0'
|
||
|
testprintffloatstar $'%*e' $'10' $'1'
|
||
|
testprintffloatstar $'%*e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*e' $'10' $'-1'
|
||
|
testprintffloatstar $'%*e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*e' $'0' $'0'
|
||
|
testprintffloatstar $'%-*e' $'0' $'1'
|
||
|
testprintffloatstar $'%-*e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*e' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*e' $'1' $'0'
|
||
|
testprintffloatstar $'%-*e' $'1' $'1'
|
||
|
testprintffloatstar $'%-*e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*e' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*e' $'10' $'0'
|
||
|
testprintffloatstar $'%-*e' $'10' $'1'
|
||
|
testprintffloatstar $'%-*e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*e' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*e' $'0' $'0'
|
||
|
testprintffloatstar $'%0*e' $'0' $'1'
|
||
|
testprintffloatstar $'%0*e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*e' $'0' $'-.'
|
||
|
testprintffloatstar $'%0*e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*e' $'1' $'0'
|
||
|
testprintffloatstar $'%0*e' $'1' $'1'
|
||
|
testprintffloatstar $'%0*e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*e' $'1' $'-.'
|
||
|
testprintffloatstar $'%0*e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*e' $'10' $'0'
|
||
|
testprintffloatstar $'%0*e' $'10' $'1'
|
||
|
testprintffloatstar $'%0*e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*e' $'10' $'-.'
|
||
|
testprintffloatstar $'%0*e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%.*e' $'0' $'0'
|
||
|
testprintffloatstar $'%.*e' $'0' $'1'
|
||
|
testprintffloatstar $'%.*e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%.*e' $'0' $'-1'
|
||
|
testprintffloatstar $'%.*e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%.*e' $'1' $'0'
|
||
|
testprintffloatstar $'%.*e' $'1' $'1'
|
||
|
testprintffloatstar $'%.*e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%.*e' $'1' $'-1'
|
||
|
testprintffloatstar $'%.*e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%.*e' $'10' $'0'
|
||
|
testprintffloatstar $'%.*e' $'10' $'1'
|
||
|
testprintffloatstar $'%.*e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%.*e' $'10' $'-1'
|
||
|
testprintffloatstar $'%.*e' $'10' $'-1.12345'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Flag '1-9'
|
||
|
printf "\e[1;36mTesting Old Bonus Flag "'1-9'" \e[0;00m"
|
||
|
testprintfn $'%2n' $'1'
|
||
|
testprintffloat $'%0f' $'0'
|
||
|
testprintffloat $'%0f' $'1'
|
||
|
testprintffloat $'%0f' $'1.12345'
|
||
|
testprintffloat $'%0f' $'-1'
|
||
|
testprintffloat $'%0f' $'-1.12345'
|
||
|
testprintffloat $'%1f' $'0'
|
||
|
testprintffloat $'%1f' $'1'
|
||
|
testprintffloat $'%1f' $'1.12345'
|
||
|
testprintffloat $'%1f' $'-1'
|
||
|
testprintffloat $'%1f' $'-1.12345'
|
||
|
testprintffloat $'%7f' $'0'
|
||
|
testprintffloat $'%7f' $'1'
|
||
|
testprintffloat $'%7f' $'1.12345'
|
||
|
testprintffloat $'%7f' $'-1'
|
||
|
testprintffloat $'%7f' $'-1.12345'
|
||
|
testprintffloat $'%11f' $'0'
|
||
|
testprintffloat $'%11f' $'1'
|
||
|
testprintffloat $'%11f' $'1.12345'
|
||
|
testprintffloat $'%11f' $'-1'
|
||
|
testprintffloat $'%11f' $'-1.12345'
|
||
|
#testprintffloat $'%0f' $'NAN'
|
||
|
#testprintffloat $'%0f' $'INFINITY'
|
||
|
#testprintffloat $'%10f' $'NAN'
|
||
|
#testprintffloat $'%10f' $'INFINITY'
|
||
|
testprintffloat $'%0g' $'0'
|
||
|
testprintffloat $'%0g' $'1'
|
||
|
testprintffloat $'%0g' $'1.12345'
|
||
|
testprintffloat $'%0g' $'-1'
|
||
|
testprintffloat $'%0g' $'-1.12345'
|
||
|
testprintffloat $'%1g' $'0'
|
||
|
testprintffloat $'%1g' $'1'
|
||
|
testprintffloat $'%1g' $'1.12345'
|
||
|
testprintffloat $'%1g' $'-1'
|
||
|
testprintffloat $'%1g' $'-1.12345'
|
||
|
testprintffloat $'%7g' $'0'
|
||
|
testprintffloat $'%7g' $'1'
|
||
|
testprintffloat $'%7g' $'1.12345'
|
||
|
testprintffloat $'%7g' $'-1'
|
||
|
testprintffloat $'%7g' $'-1.12345'
|
||
|
testprintffloat $'%11g' $'0'
|
||
|
testprintffloat $'%11g' $'1'
|
||
|
testprintffloat $'%11g' $'1.12345'
|
||
|
testprintffloat $'%11g' $'-1'
|
||
|
testprintffloat $'%11g' $'-1.12345'
|
||
|
#testprintffloat $'%0g' $'NAN'
|
||
|
#testprintffloat $'%0g' $'INFINITY'
|
||
|
#testprintffloat $'%10g' $'NAN'
|
||
|
#testprintffloat $'%10g' $'INFINITY'
|
||
|
testprintffloat $'%0e' $'0'
|
||
|
testprintffloat $'%0e' $'1'
|
||
|
testprintffloat $'%0e' $'1.12345'
|
||
|
testprintffloat $'%0e' $'-1'
|
||
|
testprintffloat $'%0e' $'-1.12345'
|
||
|
testprintffloat $'%1e' $'0'
|
||
|
testprintffloat $'%1e' $'1'
|
||
|
testprintffloat $'%1e' $'1.12345'
|
||
|
testprintffloat $'%1e' $'-1'
|
||
|
testprintffloat $'%1e' $'-1.12345'
|
||
|
testprintffloat $'%7e' $'0'
|
||
|
testprintffloat $'%7e' $'1'
|
||
|
testprintffloat $'%7e' $'1.12345'
|
||
|
testprintffloat $'%7e' $'-1'
|
||
|
testprintffloat $'%7e' $'-1.12345'
|
||
|
testprintffloat $'%11e' $'0'
|
||
|
testprintffloat $'%11e' $'1'
|
||
|
testprintffloat $'%11e' $'1.12345'
|
||
|
testprintffloat $'%11e' $'-1'
|
||
|
testprintffloat $'%11e' $'-1.12345'
|
||
|
#testprintffloat $'%0e' $'NAN'
|
||
|
#testprintffloat $'%0e' $'INFINITY'
|
||
|
#testprintffloat $'%10e' $'NAN'
|
||
|
#testprintffloat $'%10e' $'INFINITY'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Flag Combinations
|
||
|
printf "\e[1;36mTesting Old Bonus Flag Combinations \e[0;00m"
|
||
|
testprintffloat $'%1.f' $'0'
|
||
|
testprintffloat $'%5.f' $'0'
|
||
|
testprintffloat $'%10.f' $'0'
|
||
|
testprintffloatstar $'%1.*f' $'0' $'0'
|
||
|
testprintffloatstar $'%5.*f' $'0' $'0'
|
||
|
testprintffloatstar $'%10.*f' $'0' $'0'
|
||
|
testprintffloatstar $'%*.f' $'0' $'0'
|
||
|
testprintffloatstar $'%*.1f' $'0' $'0'
|
||
|
testprintffloatstar $'%*.5f' $'0' $'0'
|
||
|
testprintffloatstar $'%*.10f' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.f' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.1f' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.5f' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.10f' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.f' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.1f' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.5f' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.10f' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.f' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.1f' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.5f' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.10f' $'0' $'0'
|
||
|
testprintffloatstar $'% *.f' $'0' $'0'
|
||
|
testprintffloatstar $'% *.1f' $'0' $'0'
|
||
|
testprintffloatstar $'% *.5f' $'0' $'0'
|
||
|
testprintffloatstar $'% *.10f' $'0' $'0'
|
||
|
testprintffloatstar $'%1.*f' $'1' $'0'
|
||
|
testprintffloatstar $'%5.*f' $'1' $'0'
|
||
|
testprintffloatstar $'%10.*f' $'1' $'0'
|
||
|
testprintffloatstar $'%*.f' $'1' $'0'
|
||
|
testprintffloatstar $'%*.1f' $'1' $'0'
|
||
|
testprintffloatstar $'%*.5f' $'1' $'0'
|
||
|
testprintffloatstar $'%*.10f' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.f' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.1f' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.5f' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.10f' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.f' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.1f' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.5f' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.10f' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.f' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.1f' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.5f' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.10f' $'1' $'0'
|
||
|
testprintffloatstar $'% *.f' $'1' $'0'
|
||
|
testprintffloatstar $'% *.1f' $'1' $'0'
|
||
|
testprintffloatstar $'% *.5f' $'1' $'0'
|
||
|
testprintffloatstar $'% *.10f' $'1' $'0'
|
||
|
testprintffloatstar $'%1.*f' $'10' $'0'
|
||
|
testprintffloatstar $'%5.*f' $'10' $'0'
|
||
|
testprintffloatstar $'%10.*f' $'10' $'0'
|
||
|
testprintffloatstar $'%*.f' $'10' $'0'
|
||
|
testprintffloatstar $'%*.1f' $'10' $'0'
|
||
|
testprintffloatstar $'%*.5f' $'10' $'0'
|
||
|
testprintffloatstar $'%*.10f' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.f' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.1f' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.5f' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.10f' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.f' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.1f' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.5f' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.10f' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.f' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.1f' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.5f' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.10f' $'10' $'0'
|
||
|
testprintffloatstar $'% *.f' $'10' $'0'
|
||
|
testprintffloatstar $'% *.1f' $'10' $'0'
|
||
|
testprintffloatstar $'% *.5f' $'10' $'0'
|
||
|
testprintffloatstar $'% *.10f' $'10' $'0'
|
||
|
testprintffloatstar $'%1.*f' $'20' $'0'
|
||
|
testprintffloatstar $'%5.*f' $'20' $'0'
|
||
|
testprintffloatstar $'%10.*f' $'20' $'0'
|
||
|
testprintffloatstar $'%*.f' $'20' $'0'
|
||
|
testprintffloatstar $'%*.1f' $'20' $'0'
|
||
|
testprintffloatstar $'%*.5f' $'20' $'0'
|
||
|
testprintffloatstar $'%*.10f' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.f' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.1f' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.5f' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.10f' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.f' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.1f' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.5f' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.10f' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.f' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.1f' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.5f' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.10f' $'20' $'0'
|
||
|
testprintffloatstar $'% *.f' $'20' $'0'
|
||
|
testprintffloatstar $'% *.1f' $'20' $'0'
|
||
|
testprintffloatstar $'% *.5f' $'20' $'0'
|
||
|
testprintffloatstar $'% *.10f' $'20' $'0'
|
||
|
testprintffloat $'%1.f' $'1'
|
||
|
testprintffloat $'%5.f' $'1'
|
||
|
testprintffloat $'%10.f' $'1'
|
||
|
testprintffloatstar $'%1.*f' $'0' $'1'
|
||
|
testprintffloatstar $'%5.*f' $'0' $'1'
|
||
|
testprintffloatstar $'%10.*f' $'0' $'1'
|
||
|
testprintffloatstar $'%*.f' $'0' $'1'
|
||
|
testprintffloatstar $'%*.1f' $'0' $'1'
|
||
|
testprintffloatstar $'%*.5f' $'0' $'1'
|
||
|
testprintffloatstar $'%*.10f' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.f' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.1f' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.5f' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.10f' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.f' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.1f' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.5f' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.10f' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.f' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.1f' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.5f' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.10f' $'0' $'1'
|
||
|
testprintffloatstar $'% *.f' $'0' $'1'
|
||
|
testprintffloatstar $'% *.1f' $'0' $'1'
|
||
|
testprintffloatstar $'% *.5f' $'0' $'1'
|
||
|
testprintffloatstar $'% *.10f' $'0' $'1'
|
||
|
testprintffloatstar $'%1.*f' $'1' $'1'
|
||
|
testprintffloatstar $'%5.*f' $'1' $'1'
|
||
|
testprintffloatstar $'%10.*f' $'1' $'1'
|
||
|
testprintffloatstar $'%*.f' $'1' $'1'
|
||
|
testprintffloatstar $'%*.1f' $'1' $'1'
|
||
|
testprintffloatstar $'%*.5f' $'1' $'1'
|
||
|
testprintffloatstar $'%*.10f' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.f' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.1f' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.5f' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.10f' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.f' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.1f' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.5f' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.10f' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.f' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.1f' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.5f' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.10f' $'1' $'1'
|
||
|
testprintffloatstar $'% *.f' $'1' $'1'
|
||
|
testprintffloatstar $'% *.1f' $'1' $'1'
|
||
|
testprintffloatstar $'% *.5f' $'1' $'1'
|
||
|
testprintffloatstar $'% *.10f' $'1' $'1'
|
||
|
testprintffloatstar $'%1.*f' $'10' $'1'
|
||
|
testprintffloatstar $'%5.*f' $'10' $'1'
|
||
|
testprintffloatstar $'%10.*f' $'10' $'1'
|
||
|
testprintffloatstar $'%*.f' $'10' $'1'
|
||
|
testprintffloatstar $'%*.1f' $'10' $'1'
|
||
|
testprintffloatstar $'%*.5f' $'10' $'1'
|
||
|
testprintffloatstar $'%*.10f' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.f' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.1f' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.5f' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.10f' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.f' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.1f' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.5f' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.10f' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.f' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.1f' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.5f' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.10f' $'10' $'1'
|
||
|
testprintffloatstar $'% *.f' $'10' $'1'
|
||
|
testprintffloatstar $'% *.1f' $'10' $'1'
|
||
|
testprintffloatstar $'% *.5f' $'10' $'1'
|
||
|
testprintffloatstar $'% *.10f' $'10' $'1'
|
||
|
testprintffloatstar $'%1.*f' $'20' $'1'
|
||
|
testprintffloatstar $'%5.*f' $'20' $'1'
|
||
|
testprintffloatstar $'%10.*f' $'20' $'1'
|
||
|
testprintffloatstar $'%*.f' $'20' $'1'
|
||
|
testprintffloatstar $'%*.1f' $'20' $'1'
|
||
|
testprintffloatstar $'%*.5f' $'20' $'1'
|
||
|
testprintffloatstar $'%*.10f' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.f' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.1f' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.5f' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.10f' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.f' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.1f' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.5f' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.10f' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.f' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.1f' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.5f' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.10f' $'20' $'1'
|
||
|
testprintffloatstar $'% *.f' $'20' $'1'
|
||
|
testprintffloatstar $'% *.1f' $'20' $'1'
|
||
|
testprintffloatstar $'% *.5f' $'20' $'1'
|
||
|
testprintffloatstar $'% *.10f' $'20' $'1'
|
||
|
testprintffloat $'%1.f' $'1.12345'
|
||
|
testprintffloat $'%5.f' $'1.12345'
|
||
|
testprintffloat $'%10.f' $'1.12345'
|
||
|
testprintffloatstar $'%1.*f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%5.*f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%10.*f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.1f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.5f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.10f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.1f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.5f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.10f' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%1.*f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%5.*f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%10.*f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.1f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.5f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.10f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.1f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.5f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.10f' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%1.*f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%5.*f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%10.*f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.1f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.5f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.10f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.1f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.5f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.10f' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%1.*f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%5.*f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%10.*f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.1f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.5f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.10f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.1f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.5f' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.10f' $'20' $'1.12345'
|
||
|
testprintffloat $'%1.f' $'-1'
|
||
|
testprintffloat $'%5.f' $'-1'
|
||
|
testprintffloat $'%10.f' $'-1'
|
||
|
testprintffloatstar $'%1.*f' $'0' $'-1'
|
||
|
testprintffloatstar $'%5.*f' $'0' $'-1'
|
||
|
testprintffloatstar $'%10.*f' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.f' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.1f' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.5f' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.10f' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.f' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.1f' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.5f' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.10f' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.f' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.1f' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.5f' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.10f' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.f' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.1f' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.5f' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.10f' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.f' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.1f' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.5f' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.10f' $'0' $'-1'
|
||
|
testprintffloatstar $'%1.*f' $'1' $'-1'
|
||
|
testprintffloatstar $'%5.*f' $'1' $'-1'
|
||
|
testprintffloatstar $'%10.*f' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.f' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.1f' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.5f' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.10f' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.f' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.1f' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.5f' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.10f' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.f' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.1f' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.5f' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.10f' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.f' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.1f' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.5f' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.10f' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.f' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.1f' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.5f' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.10f' $'1' $'-1'
|
||
|
testprintffloatstar $'%1.*f' $'10' $'-1'
|
||
|
testprintffloatstar $'%5.*f' $'10' $'-1'
|
||
|
testprintffloatstar $'%10.*f' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.f' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.1f' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.5f' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.10f' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.f' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.1f' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.5f' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.10f' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.f' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.1f' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.5f' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.10f' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.f' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.1f' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.5f' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.10f' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.f' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.1f' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.5f' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.10f' $'10' $'-1'
|
||
|
testprintffloatstar $'%1.*f' $'20' $'-1'
|
||
|
testprintffloatstar $'%5.*f' $'20' $'-1'
|
||
|
testprintffloatstar $'%10.*f' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.f' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.1f' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.5f' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.10f' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.f' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.1f' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.5f' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.10f' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.f' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.1f' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.5f' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.10f' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.f' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.1f' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.5f' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.10f' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.f' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.1f' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.5f' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.10f' $'20' $'-1'
|
||
|
testprintffloat $'%1.f' $'-1.12345'
|
||
|
testprintffloat $'%5.f' $'-1.12345'
|
||
|
testprintffloat $'%10.f' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10f' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10f' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10f' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5f' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10f' $'20' $'-1.12345'
|
||
|
testprintffloat $'%1.g' $'0'
|
||
|
testprintffloat $'%5.g' $'0'
|
||
|
testprintffloat $'%10.g' $'0'
|
||
|
testprintffloatstar $'%1.*g' $'0' $'0'
|
||
|
testprintffloatstar $'%5.*g' $'0' $'0'
|
||
|
testprintffloatstar $'%10.*g' $'0' $'0'
|
||
|
testprintffloatstar $'%*.g' $'0' $'0'
|
||
|
testprintffloatstar $'%*.1g' $'0' $'0'
|
||
|
testprintffloatstar $'%*.5g' $'0' $'0'
|
||
|
testprintffloatstar $'%*.10g' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.g' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.1g' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.5g' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.10g' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.g' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.1g' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.5g' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.10g' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.g' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.1g' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.5g' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.10g' $'0' $'0'
|
||
|
testprintffloatstar $'% *.g' $'0' $'0'
|
||
|
testprintffloatstar $'% *.1g' $'0' $'0'
|
||
|
testprintffloatstar $'% *.5g' $'0' $'0'
|
||
|
testprintffloatstar $'% *.10g' $'0' $'0'
|
||
|
testprintffloatstar $'%1.*g' $'1' $'0'
|
||
|
testprintffloatstar $'%5.*g' $'1' $'0'
|
||
|
testprintffloatstar $'%10.*g' $'1' $'0'
|
||
|
testprintffloatstar $'%*.g' $'1' $'0'
|
||
|
testprintffloatstar $'%*.1g' $'1' $'0'
|
||
|
testprintffloatstar $'%*.5g' $'1' $'0'
|
||
|
testprintffloatstar $'%*.10g' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.g' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.1g' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.5g' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.10g' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.g' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.1g' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.5g' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.10g' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.g' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.1g' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.5g' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.10g' $'1' $'0'
|
||
|
testprintffloatstar $'% *.g' $'1' $'0'
|
||
|
testprintffloatstar $'% *.1g' $'1' $'0'
|
||
|
testprintffloatstar $'% *.5g' $'1' $'0'
|
||
|
testprintffloatstar $'% *.10g' $'1' $'0'
|
||
|
testprintffloatstar $'%1.*g' $'10' $'0'
|
||
|
testprintffloatstar $'%5.*g' $'10' $'0'
|
||
|
testprintffloatstar $'%10.*g' $'10' $'0'
|
||
|
testprintffloatstar $'%*.g' $'10' $'0'
|
||
|
testprintffloatstar $'%*.1g' $'10' $'0'
|
||
|
testprintffloatstar $'%*.5g' $'10' $'0'
|
||
|
testprintffloatstar $'%*.10g' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.g' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.1g' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.5g' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.10g' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.g' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.1g' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.5g' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.10g' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.g' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.1g' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.5g' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.10g' $'10' $'0'
|
||
|
testprintffloatstar $'% *.g' $'10' $'0'
|
||
|
testprintffloatstar $'% *.1g' $'10' $'0'
|
||
|
testprintffloatstar $'% *.5g' $'10' $'0'
|
||
|
testprintffloatstar $'% *.10g' $'10' $'0'
|
||
|
testprintffloatstar $'%1.*g' $'20' $'0'
|
||
|
testprintffloatstar $'%5.*g' $'20' $'0'
|
||
|
testprintffloatstar $'%10.*g' $'20' $'0'
|
||
|
testprintffloatstar $'%*.g' $'20' $'0'
|
||
|
testprintffloatstar $'%*.1g' $'20' $'0'
|
||
|
testprintffloatstar $'%*.5g' $'20' $'0'
|
||
|
testprintffloatstar $'%*.10g' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.g' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.1g' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.5g' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.10g' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.g' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.1g' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.5g' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.10g' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.g' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.1g' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.5g' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.10g' $'20' $'0'
|
||
|
testprintffloatstar $'% *.g' $'20' $'0'
|
||
|
testprintffloatstar $'% *.1g' $'20' $'0'
|
||
|
testprintffloatstar $'% *.5g' $'20' $'0'
|
||
|
testprintffloatstar $'% *.10g' $'20' $'0'
|
||
|
testprintffloat $'%1.g' $'1'
|
||
|
testprintffloat $'%5.g' $'1'
|
||
|
testprintffloat $'%10.g' $'1'
|
||
|
testprintffloatstar $'%1.*g' $'0' $'1'
|
||
|
testprintffloatstar $'%5.*g' $'0' $'1'
|
||
|
testprintffloatstar $'%10.*g' $'0' $'1'
|
||
|
testprintffloatstar $'%*.g' $'0' $'1'
|
||
|
testprintffloatstar $'%*.1g' $'0' $'1'
|
||
|
testprintffloatstar $'%*.5g' $'0' $'1'
|
||
|
testprintffloatstar $'%*.10g' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.g' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.1g' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.5g' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.10g' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.g' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.1g' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.5g' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.10g' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.g' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.1g' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.5g' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.10g' $'0' $'1'
|
||
|
testprintffloatstar $'% *.g' $'0' $'1'
|
||
|
testprintffloatstar $'% *.1g' $'0' $'1'
|
||
|
testprintffloatstar $'% *.5g' $'0' $'1'
|
||
|
testprintffloatstar $'% *.10g' $'0' $'1'
|
||
|
testprintffloatstar $'%1.*g' $'1' $'1'
|
||
|
testprintffloatstar $'%5.*g' $'1' $'1'
|
||
|
testprintffloatstar $'%10.*g' $'1' $'1'
|
||
|
testprintffloatstar $'%*.g' $'1' $'1'
|
||
|
testprintffloatstar $'%*.1g' $'1' $'1'
|
||
|
testprintffloatstar $'%*.5g' $'1' $'1'
|
||
|
testprintffloatstar $'%*.10g' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.g' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.1g' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.5g' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.10g' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.g' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.1g' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.5g' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.10g' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.g' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.1g' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.5g' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.10g' $'1' $'1'
|
||
|
testprintffloatstar $'% *.g' $'1' $'1'
|
||
|
testprintffloatstar $'% *.1g' $'1' $'1'
|
||
|
testprintffloatstar $'% *.5g' $'1' $'1'
|
||
|
testprintffloatstar $'% *.10g' $'1' $'1'
|
||
|
testprintffloatstar $'%1.*g' $'10' $'1'
|
||
|
testprintffloatstar $'%5.*g' $'10' $'1'
|
||
|
testprintffloatstar $'%10.*g' $'10' $'1'
|
||
|
testprintffloatstar $'%*.g' $'10' $'1'
|
||
|
testprintffloatstar $'%*.1g' $'10' $'1'
|
||
|
testprintffloatstar $'%*.5g' $'10' $'1'
|
||
|
testprintffloatstar $'%*.10g' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.g' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.1g' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.5g' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.10g' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.g' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.1g' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.5g' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.10g' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.g' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.1g' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.5g' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.10g' $'10' $'1'
|
||
|
testprintffloatstar $'% *.g' $'10' $'1'
|
||
|
testprintffloatstar $'% *.1g' $'10' $'1'
|
||
|
testprintffloatstar $'% *.5g' $'10' $'1'
|
||
|
testprintffloatstar $'% *.10g' $'10' $'1'
|
||
|
testprintffloatstar $'%1.*g' $'20' $'1'
|
||
|
testprintffloatstar $'%5.*g' $'20' $'1'
|
||
|
testprintffloatstar $'%10.*g' $'20' $'1'
|
||
|
testprintffloatstar $'%*.g' $'20' $'1'
|
||
|
testprintffloatstar $'%*.1g' $'20' $'1'
|
||
|
testprintffloatstar $'%*.5g' $'20' $'1'
|
||
|
testprintffloatstar $'%*.10g' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.g' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.1g' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.5g' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.10g' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.g' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.1g' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.5g' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.10g' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.g' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.1g' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.5g' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.10g' $'20' $'1'
|
||
|
testprintffloatstar $'% *.g' $'20' $'1'
|
||
|
testprintffloatstar $'% *.1g' $'20' $'1'
|
||
|
testprintffloatstar $'% *.5g' $'20' $'1'
|
||
|
testprintffloatstar $'% *.10g' $'20' $'1'
|
||
|
testprintffloat $'%1.g' $'1.12345'
|
||
|
testprintffloat $'%5.g' $'1.12345'
|
||
|
testprintffloat $'%10.g' $'1.12345'
|
||
|
testprintffloatstar $'%1.*g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%5.*g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%10.*g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.1g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.5g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.10g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.1g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.5g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.10g' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%1.*g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%5.*g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%10.*g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.1g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.5g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.10g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.1g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.5g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.10g' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%1.*g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%5.*g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%10.*g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.1g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.5g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.10g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.1g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.5g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.10g' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%1.*g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%5.*g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%10.*g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.1g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.5g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.10g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.1g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.5g' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.10g' $'20' $'1.12345'
|
||
|
testprintffloat $'%1.g' $'-1'
|
||
|
testprintffloat $'%5.g' $'-1'
|
||
|
testprintffloat $'%10.g' $'-1'
|
||
|
testprintffloatstar $'%1.*g' $'0' $'-1'
|
||
|
testprintffloatstar $'%5.*g' $'0' $'-1'
|
||
|
testprintffloatstar $'%10.*g' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.g' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.1g' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.5g' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.10g' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.g' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.1g' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.5g' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.10g' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.g' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.1g' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.5g' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.10g' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.g' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.1g' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.5g' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.10g' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.g' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.1g' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.5g' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.10g' $'0' $'-1'
|
||
|
testprintffloatstar $'%1.*g' $'1' $'-1'
|
||
|
testprintffloatstar $'%5.*g' $'1' $'-1'
|
||
|
testprintffloatstar $'%10.*g' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.g' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.1g' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.5g' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.10g' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.g' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.1g' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.5g' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.10g' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.g' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.1g' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.5g' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.10g' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.g' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.1g' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.5g' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.10g' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.g' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.1g' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.5g' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.10g' $'1' $'-1'
|
||
|
testprintffloatstar $'%1.*g' $'10' $'-1'
|
||
|
testprintffloatstar $'%5.*g' $'10' $'-1'
|
||
|
testprintffloatstar $'%10.*g' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.g' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.1g' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.5g' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.10g' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.g' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.1g' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.5g' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.10g' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.g' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.1g' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.5g' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.10g' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.g' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.1g' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.5g' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.10g' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.g' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.1g' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.5g' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.10g' $'10' $'-1'
|
||
|
testprintffloatstar $'%1.*g' $'20' $'-1'
|
||
|
testprintffloatstar $'%5.*g' $'20' $'-1'
|
||
|
testprintffloatstar $'%10.*g' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.g' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.1g' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.5g' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.10g' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.g' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.1g' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.5g' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.10g' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.g' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.1g' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.5g' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.10g' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.g' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.1g' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.5g' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.10g' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.g' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.1g' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.5g' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.10g' $'20' $'-1'
|
||
|
testprintffloat $'%1.g' $'-1.12345'
|
||
|
testprintffloat $'%5.g' $'-1.12345'
|
||
|
testprintffloat $'%10.g' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10g' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10g' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10g' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5g' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10g' $'20' $'-1.12345'
|
||
|
testprintffloat $'%1.e' $'0'
|
||
|
testprintffloat $'%5.e' $'0'
|
||
|
testprintffloat $'%10.e' $'0'
|
||
|
testprintffloatstar $'%1.*e' $'0' $'0'
|
||
|
testprintffloatstar $'%5.*e' $'0' $'0'
|
||
|
testprintffloatstar $'%10.*e' $'0' $'0'
|
||
|
testprintffloatstar $'%*.e' $'0' $'0'
|
||
|
testprintffloatstar $'%*.1e' $'0' $'0'
|
||
|
testprintffloatstar $'%*.5e' $'0' $'0'
|
||
|
testprintffloatstar $'%*.10e' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.e' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.1e' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.5e' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.10e' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.e' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.1e' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.5e' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.10e' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.e' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.1e' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.5e' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.10e' $'0' $'0'
|
||
|
testprintffloatstar $'% *.e' $'0' $'0'
|
||
|
testprintffloatstar $'% *.1e' $'0' $'0'
|
||
|
testprintffloatstar $'% *.5e' $'0' $'0'
|
||
|
testprintffloatstar $'% *.10e' $'0' $'0'
|
||
|
testprintffloatstar $'%1.*e' $'1' $'0'
|
||
|
testprintffloatstar $'%5.*e' $'1' $'0'
|
||
|
testprintffloatstar $'%10.*e' $'1' $'0'
|
||
|
testprintffloatstar $'%*.e' $'1' $'0'
|
||
|
testprintffloatstar $'%*.1e' $'1' $'0'
|
||
|
testprintffloatstar $'%*.5e' $'1' $'0'
|
||
|
testprintffloatstar $'%*.10e' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.e' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.1e' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.5e' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.10e' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.e' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.1e' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.5e' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.10e' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.e' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.1e' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.5e' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.10e' $'1' $'0'
|
||
|
testprintffloatstar $'% *.e' $'1' $'0'
|
||
|
testprintffloatstar $'% *.1e' $'1' $'0'
|
||
|
testprintffloatstar $'% *.5e' $'1' $'0'
|
||
|
testprintffloatstar $'% *.10e' $'1' $'0'
|
||
|
testprintffloatstar $'%1.*e' $'10' $'0'
|
||
|
testprintffloatstar $'%5.*e' $'10' $'0'
|
||
|
testprintffloatstar $'%10.*e' $'10' $'0'
|
||
|
testprintffloatstar $'%*.e' $'10' $'0'
|
||
|
testprintffloatstar $'%*.1e' $'10' $'0'
|
||
|
testprintffloatstar $'%*.5e' $'10' $'0'
|
||
|
testprintffloatstar $'%*.10e' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.e' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.1e' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.5e' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.10e' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.e' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.1e' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.5e' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.10e' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.e' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.1e' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.5e' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.10e' $'10' $'0'
|
||
|
testprintffloatstar $'% *.e' $'10' $'0'
|
||
|
testprintffloatstar $'% *.1e' $'10' $'0'
|
||
|
testprintffloatstar $'% *.5e' $'10' $'0'
|
||
|
testprintffloatstar $'% *.10e' $'10' $'0'
|
||
|
testprintffloatstar $'%1.*e' $'20' $'0'
|
||
|
testprintffloatstar $'%5.*e' $'20' $'0'
|
||
|
testprintffloatstar $'%10.*e' $'20' $'0'
|
||
|
testprintffloatstar $'%*.e' $'20' $'0'
|
||
|
testprintffloatstar $'%*.1e' $'20' $'0'
|
||
|
testprintffloatstar $'%*.5e' $'20' $'0'
|
||
|
testprintffloatstar $'%*.10e' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.e' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.1e' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.5e' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.10e' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.e' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.1e' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.5e' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.10e' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.e' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.1e' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.5e' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.10e' $'20' $'0'
|
||
|
testprintffloatstar $'% *.e' $'20' $'0'
|
||
|
testprintffloatstar $'% *.1e' $'20' $'0'
|
||
|
testprintffloatstar $'% *.5e' $'20' $'0'
|
||
|
testprintffloatstar $'% *.10e' $'20' $'0'
|
||
|
testprintffloat $'%1.e' $'1'
|
||
|
testprintffloat $'%5.e' $'1'
|
||
|
testprintffloat $'%10.e' $'1'
|
||
|
testprintffloatstar $'%1.*e' $'0' $'1'
|
||
|
testprintffloatstar $'%5.*e' $'0' $'1'
|
||
|
testprintffloatstar $'%10.*e' $'0' $'1'
|
||
|
testprintffloatstar $'%*.e' $'0' $'1'
|
||
|
testprintffloatstar $'%*.1e' $'0' $'1'
|
||
|
testprintffloatstar $'%*.5e' $'0' $'1'
|
||
|
testprintffloatstar $'%*.10e' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.e' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.1e' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.5e' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.10e' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.e' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.1e' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.5e' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.10e' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.e' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.1e' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.5e' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.10e' $'0' $'1'
|
||
|
testprintffloatstar $'% *.e' $'0' $'1'
|
||
|
testprintffloatstar $'% *.1e' $'0' $'1'
|
||
|
testprintffloatstar $'% *.5e' $'0' $'1'
|
||
|
testprintffloatstar $'% *.10e' $'0' $'1'
|
||
|
testprintffloatstar $'%1.*e' $'1' $'1'
|
||
|
testprintffloatstar $'%5.*e' $'1' $'1'
|
||
|
testprintffloatstar $'%10.*e' $'1' $'1'
|
||
|
testprintffloatstar $'%*.e' $'1' $'1'
|
||
|
testprintffloatstar $'%*.1e' $'1' $'1'
|
||
|
testprintffloatstar $'%*.5e' $'1' $'1'
|
||
|
testprintffloatstar $'%*.10e' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.e' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.1e' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.5e' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.10e' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.e' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.1e' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.5e' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.10e' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.e' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.1e' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.5e' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.10e' $'1' $'1'
|
||
|
testprintffloatstar $'% *.e' $'1' $'1'
|
||
|
testprintffloatstar $'% *.1e' $'1' $'1'
|
||
|
testprintffloatstar $'% *.5e' $'1' $'1'
|
||
|
testprintffloatstar $'% *.10e' $'1' $'1'
|
||
|
testprintffloatstar $'%1.*e' $'10' $'1'
|
||
|
testprintffloatstar $'%5.*e' $'10' $'1'
|
||
|
testprintffloatstar $'%10.*e' $'10' $'1'
|
||
|
testprintffloatstar $'%*.e' $'10' $'1'
|
||
|
testprintffloatstar $'%*.1e' $'10' $'1'
|
||
|
testprintffloatstar $'%*.5e' $'10' $'1'
|
||
|
testprintffloatstar $'%*.10e' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.e' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.1e' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.5e' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.10e' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.e' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.1e' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.5e' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.10e' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.e' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.1e' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.5e' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.10e' $'10' $'1'
|
||
|
testprintffloatstar $'% *.e' $'10' $'1'
|
||
|
testprintffloatstar $'% *.1e' $'10' $'1'
|
||
|
testprintffloatstar $'% *.5e' $'10' $'1'
|
||
|
testprintffloatstar $'% *.10e' $'10' $'1'
|
||
|
testprintffloatstar $'%1.*e' $'20' $'1'
|
||
|
testprintffloatstar $'%5.*e' $'20' $'1'
|
||
|
testprintffloatstar $'%10.*e' $'20' $'1'
|
||
|
testprintffloatstar $'%*.e' $'20' $'1'
|
||
|
testprintffloatstar $'%*.1e' $'20' $'1'
|
||
|
testprintffloatstar $'%*.5e' $'20' $'1'
|
||
|
testprintffloatstar $'%*.10e' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.e' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.1e' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.5e' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.10e' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.e' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.1e' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.5e' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.10e' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.e' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.1e' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.5e' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.10e' $'20' $'1'
|
||
|
testprintffloatstar $'% *.e' $'20' $'1'
|
||
|
testprintffloatstar $'% *.1e' $'20' $'1'
|
||
|
testprintffloatstar $'% *.5e' $'20' $'1'
|
||
|
testprintffloatstar $'% *.10e' $'20' $'1'
|
||
|
testprintffloat $'%1.e' $'1.12345'
|
||
|
testprintffloat $'%5.e' $'1.12345'
|
||
|
testprintffloat $'%10.e' $'1.12345'
|
||
|
testprintffloatstar $'%1.*e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%5.*e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%10.*e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.1e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.5e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.10e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.1e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.5e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.10e' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%1.*e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%5.*e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%10.*e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.1e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.5e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.10e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.1e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.5e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.10e' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%1.*e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%5.*e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%10.*e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.1e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.5e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.10e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.1e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.5e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.10e' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%1.*e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%5.*e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%10.*e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.1e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.5e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.10e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.1e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.5e' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.10e' $'20' $'1.12345'
|
||
|
testprintffloat $'%1.e' $'-1'
|
||
|
testprintffloat $'%5.e' $'-1'
|
||
|
testprintffloat $'%10.e' $'-1'
|
||
|
testprintffloatstar $'%1.*e' $'0' $'-1'
|
||
|
testprintffloatstar $'%5.*e' $'0' $'-1'
|
||
|
testprintffloatstar $'%10.*e' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.e' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.1e' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.5e' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.10e' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.e' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.1e' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.5e' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.10e' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.e' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.1e' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.5e' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.10e' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.e' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.1e' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.5e' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.10e' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.e' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.1e' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.5e' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.10e' $'0' $'-1'
|
||
|
testprintffloatstar $'%1.*e' $'1' $'-1'
|
||
|
testprintffloatstar $'%5.*e' $'1' $'-1'
|
||
|
testprintffloatstar $'%10.*e' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.e' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.1e' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.5e' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.10e' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.e' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.1e' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.5e' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.10e' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.e' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.1e' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.5e' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.10e' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.e' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.1e' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.5e' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.10e' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.e' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.1e' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.5e' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.10e' $'1' $'-1'
|
||
|
testprintffloatstar $'%1.*e' $'10' $'-1'
|
||
|
testprintffloatstar $'%5.*e' $'10' $'-1'
|
||
|
testprintffloatstar $'%10.*e' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.e' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.1e' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.5e' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.10e' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.e' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.1e' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.5e' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.10e' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.e' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.1e' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.5e' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.10e' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.e' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.1e' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.5e' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.10e' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.e' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.1e' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.5e' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.10e' $'10' $'-1'
|
||
|
testprintffloatstar $'%1.*e' $'20' $'-1'
|
||
|
testprintffloatstar $'%5.*e' $'20' $'-1'
|
||
|
testprintffloatstar $'%10.*e' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.e' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.1e' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.5e' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.10e' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.e' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.1e' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.5e' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.10e' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.e' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.1e' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.5e' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.10e' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.e' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.1e' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.5e' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.10e' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.e' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.1e' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.5e' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.10e' $'20' $'-1'
|
||
|
testprintffloat $'%1.e' $'-1.12345'
|
||
|
testprintffloat $'%5.e' $'-1.12345'
|
||
|
testprintffloat $'%10.e' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10e' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10e' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10e' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5e' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10e' $'20' $'-1.12345'
|
||
|
printf "\n"
|
||
|
|
||
|
|
||
|
# ft_old_bonus Lenght Modifier 'l'
|
||
|
printf "\e[1;36mTesting Old Bonus Length Modifier "'l'" \e[0;00m"
|
||
|
testprintfchar $'%lc' $'a'
|
||
|
testprintfstring $'%ls' $'Hallo'
|
||
|
testprintfpointer $'%lp' $'joehoe'
|
||
|
testprintfint $'%ld' $'1'
|
||
|
testprintfint $'%ld' $'2147483647'
|
||
|
testprintfint $'%ld' $'-2147483648'
|
||
|
testprintfint $'%ld' $'4294967295'
|
||
|
testprintfint $'%ld' $'-4294967296'
|
||
|
testprintfint $'%li' $'1'
|
||
|
testprintfint $'%li' $'2147483647'
|
||
|
testprintfint $'%li' $'-2147483648'
|
||
|
testprintfint $'%li' $'4294967295'
|
||
|
testprintfint $'%li' $'-4294967296'
|
||
|
testprintfint $'%lu' $'1'
|
||
|
testprintfint $'%lu' $'2147483647'
|
||
|
testprintfint $'%lu' $'4294967295'
|
||
|
testprintfint $'%lu' $'42949672951'
|
||
|
testprintfint $'%lx' $'1'
|
||
|
testprintfint $'%lx' $'2147483647'
|
||
|
testprintfint $'%lx' $'4294967295'
|
||
|
testprintfint $'%lx' $'42949672951'
|
||
|
testprintfint $'%lX' $'1'
|
||
|
testprintfint $'%lX' $'2147483647'
|
||
|
testprintfint $'%lX' $'4294967295'
|
||
|
testprintfint $'%lX' $'42949672951'
|
||
|
testprintfn $'%ln' $'1'
|
||
|
testprintffloat $'%lf' $'1.12345'
|
||
|
testprintffloat $'%lf' $'1234567890.1234567890'
|
||
|
testprintffloat $'%lf' $'-1.12345'
|
||
|
testprintffloat $'%lf' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%lg' $'1.12345'
|
||
|
testprintffloat $'%lg' $'1234567890.1234567890'
|
||
|
testprintffloat $'%lg' $'-1.12345'
|
||
|
testprintffloat $'%lg' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%le' $'1.12345'
|
||
|
testprintffloat $'%le' $'1234567890.1234567890'
|
||
|
testprintffloat $'%le' $'-1.12345'
|
||
|
testprintffloat $'%le' $'-1234567890.1234567890'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Lenght Modifier 'll'
|
||
|
printf "\e[1;36mTesting Old Bonus Length Modifier "'ll'" \e[0;00m"
|
||
|
testprintfchar $'%llc' $'a'
|
||
|
testprintfstring $'%lls' $'Hallo'
|
||
|
testprintfpointer $'%llp' $'joehoe'
|
||
|
testprintfint $'%lld' $'1'
|
||
|
testprintfint $'%lld' $'2147483647'
|
||
|
testprintfint $'%lld' $'-2147483648'
|
||
|
testprintfint $'%lld' $'4294967295'
|
||
|
testprintfint $'%lld' $'-4294967296'
|
||
|
testprintfint $'%lli' $'1'
|
||
|
testprintfint $'%lli' $'2147483647'
|
||
|
testprintfint $'%lli' $'-2147483648'
|
||
|
testprintfint $'%lli' $'4294967295'
|
||
|
testprintfint $'%lli' $'-4294967296'
|
||
|
testprintfint $'%llu' $'1'
|
||
|
testprintfint $'%llu' $'2147483647'
|
||
|
testprintfint $'%llu' $'4294967295'
|
||
|
testprintfint $'%llu' $'42949672951'
|
||
|
testprintfint $'%llx' $'1'
|
||
|
testprintfint $'%llx' $'2147483647'
|
||
|
testprintfint $'%llx' $'4294967295'
|
||
|
testprintfint $'%llx' $'42949672951'
|
||
|
testprintfint $'%llX' $'1'
|
||
|
testprintfint $'%llX' $'2147483647'
|
||
|
testprintfint $'%llX' $'4294967295'
|
||
|
testprintfint $'%llX' $'42949672951'
|
||
|
testprintfn $'%lln' $'1'
|
||
|
testprintffloat $'%llf' $'1.12345'
|
||
|
testprintffloat $'%llf' $'1234567890.1234567890'
|
||
|
testprintffloat $'%llf' $'-1.12345'
|
||
|
testprintffloat $'%llf' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%llg' $'1.12345'
|
||
|
testprintffloat $'%llg' $'1234567890.1234567890'
|
||
|
testprintffloat $'%llg' $'-1.12345'
|
||
|
testprintffloat $'%llg' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%lle' $'1.12345'
|
||
|
testprintffloat $'%lle' $'1234567890.1234567890'
|
||
|
testprintffloat $'%lle' $'-1.12345'
|
||
|
testprintffloat $'%lle' $'-1234567890.1234567890'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Lenght Modifier 'h'
|
||
|
printf "\e[1;36mTesting Old Bonus Length Modifier "'h'" \e[0;00m"
|
||
|
testprintfchar $'%hc' $'a'
|
||
|
testprintfstring $'%hs' $'Hallo'
|
||
|
testprintfpointer $'%hp' $'joehoe'
|
||
|
testprintfint $'%hd' $'1'
|
||
|
testprintfint $'%hd' $'2147483647'
|
||
|
testprintfint $'%hd' $'-2147483648'
|
||
|
testprintfint $'%hd' $'4294967295'
|
||
|
testprintfint $'%hd' $'-4294967296'
|
||
|
testprintfint $'%hi' $'1'
|
||
|
testprintfint $'%hi' $'2147483647'
|
||
|
testprintfint $'%hi' $'-2147483648'
|
||
|
testprintfint $'%hi' $'4294967295'
|
||
|
testprintfint $'%hi' $'-4294967296'
|
||
|
testprintfint $'%hu' $'1'
|
||
|
testprintfint $'%hu' $'2147483647'
|
||
|
testprintfint $'%hu' $'4294967295'
|
||
|
testprintfint $'%hu' $'42949672951'
|
||
|
testprintfint $'%hx' $'1'
|
||
|
testprintfint $'%hx' $'2147483647'
|
||
|
testprintfint $'%hx' $'4294967295'
|
||
|
testprintfint $'%hx' $'42949672951'
|
||
|
testprintfint $'%hX' $'1'
|
||
|
testprintfint $'%hX' $'2147483647'
|
||
|
testprintfint $'%hX' $'4294967295'
|
||
|
testprintfint $'%hX' $'42949672951'
|
||
|
testprintfn $'%hn' $'1'
|
||
|
testprintffloat $'%hf' $'1.12345'
|
||
|
testprintffloat $'%hf' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hf' $'-1.12345'
|
||
|
testprintffloat $'%hf' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hg' $'1.12345'
|
||
|
testprintffloat $'%hg' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hg' $'-1.12345'
|
||
|
testprintffloat $'%hg' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%he' $'1.12345'
|
||
|
testprintffloat $'%he' $'1234567890.1234567890'
|
||
|
testprintffloat $'%he' $'-1.12345'
|
||
|
testprintffloat $'%he' $'-1234567890.1234567890'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_old_bonus Lenght Modifier 'hh'
|
||
|
printf "\e[1;36mTesting Old Bonus Length Modifier "'hh'" \e[0;00m"
|
||
|
testprintfchar $'%hhc' $'a'
|
||
|
testprintfstring $'%hhs' $'Hallo'
|
||
|
testprintfpointer $'%hhp' $'joehoe'
|
||
|
testprintfint $'%hhd' $'1'
|
||
|
testprintfint $'%hhd' $'2147483647'
|
||
|
testprintfint $'%hhd' $'-2147483648'
|
||
|
testprintfint $'%hhd' $'4294967295'
|
||
|
testprintfint $'%hhd' $'-4294967296'
|
||
|
testprintfint $'%hhi' $'1'
|
||
|
testprintfint $'%hhi' $'2147483647'
|
||
|
testprintfint $'%hhi' $'-2147483648'
|
||
|
testprintfint $'%hhi' $'4294967295'
|
||
|
testprintfint $'%hhi' $'-4294967296'
|
||
|
testprintfint $'%hhu' $'1'
|
||
|
testprintfint $'%hhu' $'2147483647'
|
||
|
testprintfint $'%hhu' $'4294967295'
|
||
|
testprintfint $'%hhu' $'42949672951'
|
||
|
testprintfint $'%hhx' $'1'
|
||
|
testprintfint $'%hhx' $'2147483647'
|
||
|
testprintfint $'%hhx' $'4294967295'
|
||
|
testprintfint $'%hhx' $'42949672951'
|
||
|
testprintfint $'%hhX' $'1'
|
||
|
testprintfint $'%hhX' $'2147483647'
|
||
|
testprintfint $'%hhX' $'4294967295'
|
||
|
testprintfint $'%hhX' $'42949672951'
|
||
|
testprintfn $'%hhn' $'1'
|
||
|
testprintffloat $'%hhf' $'1.12345'
|
||
|
testprintffloat $'%hhf' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hhf' $'-1.12345'
|
||
|
testprintffloat $'%hhf' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hhg' $'1.12345'
|
||
|
testprintffloat $'%hhg' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hhg' $'-1.12345'
|
||
|
testprintffloat $'%hhg' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hhe' $'1.12345'
|
||
|
testprintffloat $'%hhe' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hhe' $'-1.12345'
|
||
|
testprintffloat $'%hhe' $'-1234567890.1234567890'
|
||
|
printf "\n"
|
||
|
|
||
|
OBFAULTS=$FAULTS
|
||
|
OBTOTAL=$TOTAL
|
||
|
TOTAL=$(($MTOTAL+$BTOTAL+$OMTOTAL+$OBTOTAL))
|
||
|
FAULTS=$(($MFAULTS+$BFAULTS+$OMFAULTS+$OBFAULTS))
|
||
|
RIGHT=$(($TOTAL-$FAULTS))
|
||
|
OBRIGHT=$(($OBTOTAL-$OBFAULTS))
|
||
|
|
||
|
if [ $LEVEL -lt 4 ]
|
||
|
then
|
||
|
printf "\e[1;31mYou can go a bit higher and aim for the last of printf, it will include %%a, %%o, %%b, some extra length modifiers and more\e[0;00m\n"
|
||
|
if [ $FAULTS -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;35mBut out of \e[1;36m$TOTAL tests\e[0;35m we got \e[1;32mno errors\e[1;35m, Congratulations\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 0
|
||
|
else
|
||
|
if [ $MFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$MTOTAL tests \e[0;00mwe got \e[1;32m$MRIGHT OKs \e[0;00mand \e[1;31m$MFAULTS KOs \e[0;00min the \e[1;35mMandatory \e[0;00mpart So that really sucks\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$MTOTAL tests \e[1;32min the Mandatory part which is a good start\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $BFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$BTOTAL tests \e[0;00mwe got \e[1;32m$BRIGHT OKs \e[0;00mand \e[1;31m$BFAULTS KOs \e[0;00min the \e[1;35mBonus \e[0;00mpart So that's a bummer\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$BTOTAL tests \e[1;32min the Bonus part which is OK\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $OMFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$OMTOTAL tests \e[0;00mwe got \e[1;32m$OMRIGHT OKs \e[0;00mand \e[1;31m$OMFAULTS KOs \e[0;00min the \e[1;35mOld Mandatory \e[0;00mpart Good thing we are evaluating the new subject\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$OMTOTAL tests \e[1;32min the Old Mandatory part which is good\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $OBFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$OBTOTAL tests \e[0;00mwe got \e[1;32m$OBRIGHT OKs \e[0;00mand \e[1;31m$OBFAULTS KOs \e[0;00min the \e[1;35mOld Bonus \e[0;00mpart You lucky bastard you\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$OBTOTAL tests \e[1;32min the old Bonus part which is very nice\e[0;00m\n"
|
||
|
fi
|
||
|
printf "\e[0;00mOut of \e[1;36m$TOTAL tests \e[0;00mwe got \e[1;32m$RIGHT OKs \e[0;00mand \e[1;31m$FAULTS KOs\e[0;00m... You can be your own judge\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 1
|
||
|
fi
|
||
|
fi
|
||
|
printf "\e[1;32mOK\e[0;00m"
|
||
|
printf "\n"
|
||
|
|
||
|
TOTAL=0
|
||
|
FAULTS=0
|
||
|
|
||
|
# ft_extra Conversion a
|
||
|
printf "\e[1;36mTesting Extra Conversion a \e[0;00m"
|
||
|
testprintffloat $'%a' $'0'
|
||
|
testprintffloat $'%a' $'1'
|
||
|
testprintffloat $'%a' $'-1'
|
||
|
testprintffloat $'%a' $'1.12345'
|
||
|
testprintffloat $'%a' $'-1.12345'
|
||
|
testprintffloat $'%a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%a' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%a' $'0.0'
|
||
|
testprintffloat $'%a' $'123.123'
|
||
|
testprintffloat $'%a' $'123.123456'
|
||
|
testprintffloat $'%a' $'123.1234567890'
|
||
|
testprintffloat $'%a' $'123456.1234567890'
|
||
|
testprintffloat $'%a' $'1234567.1234567890'
|
||
|
testprintffloat $'%a' $'12345678.1234567890'
|
||
|
testprintffloat $'%a' $'123456789.1234567890'
|
||
|
testprintffloat $'%a' $'0.00099'
|
||
|
#testprintffloat $'%a' $'INFINITY'
|
||
|
#testprintffloat $'%a' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Conversion A
|
||
|
printf "\e[1;36mTesting Extra Conversion A \e[0;00m"
|
||
|
testprintffloat $'%A' $'0'
|
||
|
testprintffloat $'%A' $'1'
|
||
|
testprintffloat $'%A' $'-1'
|
||
|
testprintffloat $'%A' $'1.12345'
|
||
|
testprintffloat $'%A' $'-1.12345'
|
||
|
testprintffloat $'%A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%A' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%A' $'0.0'
|
||
|
testprintffloat $'%A' $'123.123'
|
||
|
testprintffloat $'%A' $'123.123456'
|
||
|
testprintffloat $'%A' $'123.1234567890'
|
||
|
testprintffloat $'%A' $'123456.1234567890'
|
||
|
testprintffloat $'%A' $'1234567.1234567890'
|
||
|
testprintffloat $'%A' $'12345678.1234567890'
|
||
|
testprintffloat $'%A' $'123456789.1234567890'
|
||
|
testprintffloat $'%A' $'0.00099'
|
||
|
#testprintffloat $'%A' $'INFINITY'
|
||
|
#testprintffloat $'%A' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Conversion E
|
||
|
printf "\e[1;36mTesting Extra Conversion E \e[0;00m"
|
||
|
testprintffloat $'%E' $'0'
|
||
|
testprintffloat $'%E' $'1'
|
||
|
testprintffloat $'%E' $'-1'
|
||
|
testprintffloat $'%E' $'1.12345'
|
||
|
testprintffloat $'%E' $'-1.12345'
|
||
|
testprintffloat $'%E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%E' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%E' $'0.0'
|
||
|
testprintffloat $'%E' $'123.123'
|
||
|
testprintffloat $'%E' $'123.123456'
|
||
|
testprintffloat $'%E' $'123.1234567890'
|
||
|
testprintffloat $'%E' $'123456.1234567890'
|
||
|
testprintffloat $'%E' $'1234567.1234567890'
|
||
|
testprintffloat $'%E' $'12345678.1234567890'
|
||
|
testprintffloat $'%E' $'123456789.1234567890'
|
||
|
testprintffloat $'%E' $'0.00099'
|
||
|
#testprintffloat $'%E' $'INFINITY'
|
||
|
#testprintffloat $'%E' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Conversion F
|
||
|
printf "\e[1;36mTesting Extra Conversion F \e[0;00m"
|
||
|
testprintffloat $'%F' $'0'
|
||
|
testprintffloat $'%F' $'1'
|
||
|
testprintffloat $'%F' $'-1'
|
||
|
testprintffloat $'%F' $'1.12345'
|
||
|
testprintffloat $'%F' $'-1.12345'
|
||
|
testprintffloat $'%F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%F' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%F' $'0.0'
|
||
|
testprintffloat $'%F' $'123.123'
|
||
|
testprintffloat $'%F' $'123.123456'
|
||
|
testprintffloat $'%F' $'123.1234567890'
|
||
|
testprintffloat $'%F' $'123456.1234567890'
|
||
|
testprintffloat $'%F' $'1234567.1234567890'
|
||
|
testprintffloat $'%F' $'12345678.1234567890'
|
||
|
testprintffloat $'%F' $'123456789.1234567890'
|
||
|
testprintffloat $'%F' $'0.00099'
|
||
|
#testprintffloat $'%F' $'INFINITY'
|
||
|
#testprintffloat $'%F' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Conversion G
|
||
|
printf "\e[1;36mTesting Extra Conversion G \e[0;00m"
|
||
|
testprintffloat $'%G' $'0'
|
||
|
testprintffloat $'%G' $'1'
|
||
|
testprintffloat $'%G' $'-1'
|
||
|
testprintffloat $'%G' $'1.12345'
|
||
|
testprintffloat $'%G' $'-1.12345'
|
||
|
testprintffloat $'%G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%G' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%G' $'0.0'
|
||
|
testprintffloat $'%G' $'123.123'
|
||
|
testprintffloat $'%G' $'123.123456'
|
||
|
testprintffloat $'%G' $'123.1234567890'
|
||
|
testprintffloat $'%G' $'123456.1234567890'
|
||
|
testprintffloat $'%G' $'1234567.1234567890'
|
||
|
testprintffloat $'%G' $'12345678.1234567890'
|
||
|
testprintffloat $'%G' $'123456789.1234567890'
|
||
|
testprintffloat $'%G' $'0.00099'
|
||
|
#testprintffloat $'%G' $'INFINITY'
|
||
|
#testprintffloat $'%G' $'NAN'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Conversion o
|
||
|
printf "\e[1;36mTesting Extra Conversion o \e[0;00m"
|
||
|
testprintfint $'%o' $'0'
|
||
|
testprintfint $'%o' $'1'
|
||
|
testprintfint $'%o' $'12345'
|
||
|
testprintfint $'%o' $'2147483647'
|
||
|
testprintfint $'%o' $'4294967295'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Conversion b
|
||
|
printf "\e[1;36mTesting Extra Conversion b \e[0;00m"
|
||
|
testprintfint $'%b' $'0'
|
||
|
testprintfint $'%b' $'1'
|
||
|
testprintfint $'%b' $'12345'
|
||
|
testprintfint $'%b' $'2147483647'
|
||
|
testprintfint $'%b' $'4294967295'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Flag '-'
|
||
|
printf "\e[1;36mTesting Extra Flag "'-'" \e[0;00m"
|
||
|
testprintffloat $'%-a' $'0'
|
||
|
testprintffloat $'%-0a' $'0'
|
||
|
testprintffloat $'%-1a' $'0'
|
||
|
testprintffloat $'%-10a' $'0'
|
||
|
testprintffloat $'%-20a' $'0'
|
||
|
testprintffloat $'%-a' $'1'
|
||
|
testprintffloat $'%-0a' $'1'
|
||
|
testprintffloat $'%-1a' $'1'
|
||
|
testprintffloat $'%-10a' $'1'
|
||
|
testprintffloat $'%-20a' $'1'
|
||
|
testprintffloat $'%-a' $'-1'
|
||
|
testprintffloat $'%-0a' $'-1'
|
||
|
testprintffloat $'%-1a' $'-1'
|
||
|
testprintffloat $'%-10a' $'-1'
|
||
|
testprintffloat $'%-20a' $'-1'
|
||
|
testprintffloat $'%-a' $'2147483647'
|
||
|
testprintffloat $'%-0a' $'2147483647'
|
||
|
testprintffloat $'%-1a' $'2147483647'
|
||
|
testprintffloat $'%-10a' $'2147483647'
|
||
|
testprintffloat $'%-20a' $'2147483647'
|
||
|
testprintffloat $'%-a' $'-2147483648'
|
||
|
testprintffloat $'%-0a' $'-2147483648'
|
||
|
testprintffloat $'%-1a' $'-2147483648'
|
||
|
testprintffloat $'%-10a' $'-2147483648'
|
||
|
testprintffloat $'%-20a' $'-2147483648'
|
||
|
#testprintffloat $'%-4a' $'INFINITY'
|
||
|
#testprintffloat $'%-4a' $'NAN'
|
||
|
testprintffloat $'%-A' $'0'
|
||
|
testprintffloat $'%-0A' $'0'
|
||
|
testprintffloat $'%-1A' $'0'
|
||
|
testprintffloat $'%-10A' $'0'
|
||
|
testprintffloat $'%-20A' $'0'
|
||
|
testprintffloat $'%-A' $'1'
|
||
|
testprintffloat $'%-0A' $'1'
|
||
|
testprintffloat $'%-1A' $'1'
|
||
|
testprintffloat $'%-10A' $'1'
|
||
|
testprintffloat $'%-20A' $'1'
|
||
|
testprintffloat $'%-A' $'-1'
|
||
|
testprintffloat $'%-0A' $'-1'
|
||
|
testprintffloat $'%-1A' $'-1'
|
||
|
testprintffloat $'%-10A' $'-1'
|
||
|
testprintffloat $'%-20A' $'-1'
|
||
|
testprintffloat $'%-A' $'2147483647'
|
||
|
testprintffloat $'%-0A' $'2147483647'
|
||
|
testprintffloat $'%-1A' $'2147483647'
|
||
|
testprintffloat $'%-10A' $'2147483647'
|
||
|
testprintffloat $'%-20A' $'2147483647'
|
||
|
testprintffloat $'%-A' $'-2147483648'
|
||
|
testprintffloat $'%-0A' $'-2147483648'
|
||
|
testprintffloat $'%-1A' $'-2147483648'
|
||
|
testprintffloat $'%-10A' $'-2147483648'
|
||
|
testprintffloat $'%-20A' $'-2147483648'
|
||
|
#testprintffloat $'%-4A' $'INFINITY'
|
||
|
#testprintffloat $'%-4A' $'NAN'
|
||
|
testprintffloat $'%-E' $'0'
|
||
|
testprintffloat $'%-0E' $'0'
|
||
|
testprintffloat $'%-1E' $'0'
|
||
|
testprintffloat $'%-10E' $'0'
|
||
|
testprintffloat $'%-20E' $'0'
|
||
|
testprintffloat $'%-E' $'1'
|
||
|
testprintffloat $'%-0E' $'1'
|
||
|
testprintffloat $'%-1E' $'1'
|
||
|
testprintffloat $'%-10E' $'1'
|
||
|
testprintffloat $'%-20E' $'1'
|
||
|
testprintffloat $'%-E' $'-1'
|
||
|
testprintffloat $'%-0E' $'-1'
|
||
|
testprintffloat $'%-1E' $'-1'
|
||
|
testprintffloat $'%-10E' $'-1'
|
||
|
testprintffloat $'%-20E' $'-1'
|
||
|
testprintffloat $'%-E' $'2147483647'
|
||
|
testprintffloat $'%-0E' $'2147483647'
|
||
|
testprintffloat $'%-1E' $'2147483647'
|
||
|
testprintffloat $'%-10E' $'2147483647'
|
||
|
testprintffloat $'%-20E' $'2147483647'
|
||
|
testprintffloat $'%-E' $'-2147483648'
|
||
|
testprintffloat $'%-0E' $'-2147483648'
|
||
|
testprintffloat $'%-1E' $'-2147483648'
|
||
|
testprintffloat $'%-10E' $'-2147483648'
|
||
|
testprintffloat $'%-20E' $'-2147483648'
|
||
|
#testprintffloat $'%-4E' $'INFINITY'
|
||
|
#testprintffloat $'%-4E' $'NAN'
|
||
|
testprintffloat $'%-F' $'0'
|
||
|
testprintffloat $'%-0F' $'0'
|
||
|
testprintffloat $'%-1F' $'0'
|
||
|
testprintffloat $'%-10F' $'0'
|
||
|
testprintffloat $'%-20F' $'0'
|
||
|
testprintffloat $'%-F' $'1'
|
||
|
testprintffloat $'%-0F' $'1'
|
||
|
testprintffloat $'%-1F' $'1'
|
||
|
testprintffloat $'%-10F' $'1'
|
||
|
testprintffloat $'%-20F' $'1'
|
||
|
testprintffloat $'%-F' $'-1'
|
||
|
testprintffloat $'%-0F' $'-1'
|
||
|
testprintffloat $'%-1F' $'-1'
|
||
|
testprintffloat $'%-10F' $'-1'
|
||
|
testprintffloat $'%-20F' $'-1'
|
||
|
testprintffloat $'%-F' $'2147483647'
|
||
|
testprintffloat $'%-0F' $'2147483647'
|
||
|
testprintffloat $'%-1F' $'2147483647'
|
||
|
testprintffloat $'%-10F' $'2147483647'
|
||
|
testprintffloat $'%-20F' $'2147483647'
|
||
|
testprintffloat $'%-F' $'-2147483648'
|
||
|
testprintffloat $'%-0F' $'-2147483648'
|
||
|
testprintffloat $'%-1F' $'-2147483648'
|
||
|
testprintffloat $'%-10F' $'-2147483648'
|
||
|
testprintffloat $'%-20F' $'-2147483648'
|
||
|
#testprintffloat $'%-4F' $'INFINITY'
|
||
|
#testprintffloat $'%-4F' $'NAN'
|
||
|
testprintffloat $'%-G' $'0'
|
||
|
testprintffloat $'%-0G' $'0'
|
||
|
testprintffloat $'%-1G' $'0'
|
||
|
testprintffloat $'%-10G' $'0'
|
||
|
testprintffloat $'%-20G' $'0'
|
||
|
testprintffloat $'%-G' $'1'
|
||
|
testprintffloat $'%-0G' $'1'
|
||
|
testprintffloat $'%-1G' $'1'
|
||
|
testprintffloat $'%-10G' $'1'
|
||
|
testprintffloat $'%-20G' $'1'
|
||
|
testprintffloat $'%-G' $'-1'
|
||
|
testprintffloat $'%-0G' $'-1'
|
||
|
testprintffloat $'%-1G' $'-1'
|
||
|
testprintffloat $'%-10G' $'-1'
|
||
|
testprintffloat $'%-20G' $'-1'
|
||
|
testprintffloat $'%-G' $'2147483647'
|
||
|
testprintffloat $'%-0G' $'2147483647'
|
||
|
testprintffloat $'%-1G' $'2147483647'
|
||
|
testprintffloat $'%-10G' $'2147483647'
|
||
|
testprintffloat $'%-20G' $'2147483647'
|
||
|
testprintffloat $'%-G' $'-2147483648'
|
||
|
testprintffloat $'%-0G' $'-2147483648'
|
||
|
testprintffloat $'%-1G' $'-2147483648'
|
||
|
testprintffloat $'%-10G' $'-2147483648'
|
||
|
testprintffloat $'%-20G' $'-2147483648'
|
||
|
#testprintffloat $'%-4G' $'INFINITY'
|
||
|
#testprintffloat $'%-4G' $'NAN'
|
||
|
testprintfint $'%-o' $'0'
|
||
|
testprintfint $'%-0o' $'0'
|
||
|
testprintfint $'%-1o' $'0'
|
||
|
testprintfint $'%-10o' $'0'
|
||
|
testprintfint $'%-20o' $'0'
|
||
|
testprintfint $'%-o' $'1'
|
||
|
testprintfint $'%-0o' $'1'
|
||
|
testprintfint $'%-1o' $'1'
|
||
|
testprintfint $'%-10o' $'1'
|
||
|
testprintfint $'%-20o' $'1'
|
||
|
testprintfint $'%-o' $'2147483647'
|
||
|
testprintfint $'%-0o' $'2147483647'
|
||
|
testprintfint $'%-1o' $'2147483647'
|
||
|
testprintfint $'%-10o' $'2147483647'
|
||
|
testprintfint $'%-20o' $'2147483647'
|
||
|
testprintfint $'%-b' $'0'
|
||
|
testprintfint $'%-0b' $'0'
|
||
|
testprintfint $'%-1b' $'0'
|
||
|
testprintfint $'%-10b' $'0'
|
||
|
testprintfint $'%-20b' $'0'
|
||
|
testprintfint $'%-b' $'1'
|
||
|
testprintfint $'%-0b' $'1'
|
||
|
testprintfint $'%-1b' $'1'
|
||
|
testprintfint $'%-10b' $'1'
|
||
|
testprintfint $'%-20b' $'1'
|
||
|
testprintfint $'%-b' $'2147483647'
|
||
|
testprintfint $'%-0b' $'2147483647'
|
||
|
testprintfint $'%-1b' $'2147483647'
|
||
|
testprintfint $'%-10b' $'2147483647'
|
||
|
testprintfint $'%-20b' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Flag '0'
|
||
|
printf "\e[1;36mTesting Extra Flag "'0'" \e[0;00m"
|
||
|
testprintffloat $'%0a' $'0'
|
||
|
testprintffloat $'%00a' $'0'
|
||
|
testprintffloat $'%01a' $'0'
|
||
|
testprintffloat $'%010a' $'0'
|
||
|
testprintffloat $'%020a' $'0'
|
||
|
testprintffloat $'%0a' $'1'
|
||
|
testprintffloat $'%00a' $'1'
|
||
|
testprintffloat $'%01a' $'1'
|
||
|
testprintffloat $'%010a' $'1'
|
||
|
testprintffloat $'%020a' $'1'
|
||
|
testprintffloat $'%0a' $'-1'
|
||
|
testprintffloat $'%00a' $'-1'
|
||
|
testprintffloat $'%01a' $'-1'
|
||
|
testprintffloat $'%010a' $'-1'
|
||
|
testprintffloat $'%020a' $'-1'
|
||
|
testprintffloat $'%0a' $'2147483647'
|
||
|
testprintffloat $'%00a' $'2147483647'
|
||
|
testprintffloat $'%01a' $'2147483647'
|
||
|
testprintffloat $'%010a' $'2147483647'
|
||
|
testprintffloat $'%020a' $'2147483647'
|
||
|
testprintffloat $'%0a' $'-2147483648'
|
||
|
testprintffloat $'%00a' $'-2147483648'
|
||
|
testprintffloat $'%01a' $'-2147483648'
|
||
|
testprintffloat $'%010a' $'-2147483648'
|
||
|
testprintffloat $'%020a' $'-2147483648'
|
||
|
#testprintffloat $'%04a' $'INFINITY'
|
||
|
#testprintffloat $'%04a' $'NAN'
|
||
|
testprintffloat $'%0A' $'0'
|
||
|
testprintffloat $'%00A' $'0'
|
||
|
testprintffloat $'%01A' $'0'
|
||
|
testprintffloat $'%010A' $'0'
|
||
|
testprintffloat $'%020A' $'0'
|
||
|
testprintffloat $'%0A' $'1'
|
||
|
testprintffloat $'%00A' $'1'
|
||
|
testprintffloat $'%01A' $'1'
|
||
|
testprintffloat $'%010A' $'1'
|
||
|
testprintffloat $'%020A' $'1'
|
||
|
testprintffloat $'%0A' $'-1'
|
||
|
testprintffloat $'%00A' $'-1'
|
||
|
testprintffloat $'%01A' $'-1'
|
||
|
testprintffloat $'%010A' $'-1'
|
||
|
testprintffloat $'%020A' $'-1'
|
||
|
testprintffloat $'%0A' $'2147483647'
|
||
|
testprintffloat $'%00A' $'2147483647'
|
||
|
testprintffloat $'%01A' $'2147483647'
|
||
|
testprintffloat $'%010A' $'2147483647'
|
||
|
testprintffloat $'%020A' $'2147483647'
|
||
|
testprintffloat $'%0A' $'-2147483648'
|
||
|
testprintffloat $'%00A' $'-2147483648'
|
||
|
testprintffloat $'%01A' $'-2147483648'
|
||
|
testprintffloat $'%010A' $'-2147483648'
|
||
|
testprintffloat $'%020A' $'-2147483648'
|
||
|
#testprintffloat $'%04A' $'INFINITY'
|
||
|
#testprintffloat $'%04A' $'NAN'
|
||
|
testprintffloat $'%0E' $'0'
|
||
|
testprintffloat $'%00E' $'0'
|
||
|
testprintffloat $'%01E' $'0'
|
||
|
testprintffloat $'%010E' $'0'
|
||
|
testprintffloat $'%020E' $'0'
|
||
|
testprintffloat $'%0E' $'1'
|
||
|
testprintffloat $'%00E' $'1'
|
||
|
testprintffloat $'%01E' $'1'
|
||
|
testprintffloat $'%010E' $'1'
|
||
|
testprintffloat $'%020E' $'1'
|
||
|
testprintffloat $'%0E' $'-1'
|
||
|
testprintffloat $'%00E' $'-1'
|
||
|
testprintffloat $'%01E' $'-1'
|
||
|
testprintffloat $'%010E' $'-1'
|
||
|
testprintffloat $'%020E' $'-1'
|
||
|
testprintffloat $'%0E' $'2147483647'
|
||
|
testprintffloat $'%00E' $'2147483647'
|
||
|
testprintffloat $'%01E' $'2147483647'
|
||
|
testprintffloat $'%010E' $'2147483647'
|
||
|
testprintffloat $'%020E' $'2147483647'
|
||
|
testprintffloat $'%0E' $'-2147483648'
|
||
|
testprintffloat $'%00E' $'-2147483648'
|
||
|
testprintffloat $'%01E' $'-2147483648'
|
||
|
testprintffloat $'%010E' $'-2147483648'
|
||
|
testprintffloat $'%020E' $'-2147483648'
|
||
|
#testprintffloat $'%04E' $'INFINITY'
|
||
|
#testprintffloat $'%04E' $'NAN'
|
||
|
testprintffloat $'%0F' $'0'
|
||
|
testprintffloat $'%00F' $'0'
|
||
|
testprintffloat $'%01F' $'0'
|
||
|
testprintffloat $'%010F' $'0'
|
||
|
testprintffloat $'%020F' $'0'
|
||
|
testprintffloat $'%0F' $'1'
|
||
|
testprintffloat $'%00F' $'1'
|
||
|
testprintffloat $'%01F' $'1'
|
||
|
testprintffloat $'%010F' $'1'
|
||
|
testprintffloat $'%020F' $'1'
|
||
|
testprintffloat $'%0F' $'-1'
|
||
|
testprintffloat $'%00F' $'-1'
|
||
|
testprintffloat $'%01F' $'-1'
|
||
|
testprintffloat $'%010F' $'-1'
|
||
|
testprintffloat $'%020F' $'-1'
|
||
|
testprintffloat $'%0F' $'2147483647'
|
||
|
testprintffloat $'%00F' $'2147483647'
|
||
|
testprintffloat $'%01F' $'2147483647'
|
||
|
testprintffloat $'%010F' $'2147483647'
|
||
|
testprintffloat $'%020F' $'2147483647'
|
||
|
testprintffloat $'%0F' $'-2147483648'
|
||
|
testprintffloat $'%00F' $'-2147483648'
|
||
|
testprintffloat $'%01F' $'-2147483648'
|
||
|
testprintffloat $'%010F' $'-2147483648'
|
||
|
testprintffloat $'%020F' $'-2147483648'
|
||
|
#testprintffloat $'%04F' $'INFINITY'
|
||
|
#testprintffloat $'%04F' $'NAN'
|
||
|
testprintffloat $'%0G' $'0'
|
||
|
testprintffloat $'%00G' $'0'
|
||
|
testprintffloat $'%01G' $'0'
|
||
|
testprintffloat $'%010G' $'0'
|
||
|
testprintffloat $'%020G' $'0'
|
||
|
testprintffloat $'%0G' $'1'
|
||
|
testprintffloat $'%00G' $'1'
|
||
|
testprintffloat $'%01G' $'1'
|
||
|
testprintffloat $'%010G' $'1'
|
||
|
testprintffloat $'%020G' $'1'
|
||
|
testprintffloat $'%0G' $'-1'
|
||
|
testprintffloat $'%00G' $'-1'
|
||
|
testprintffloat $'%01G' $'-1'
|
||
|
testprintffloat $'%010G' $'-1'
|
||
|
testprintffloat $'%020G' $'-1'
|
||
|
testprintffloat $'%0G' $'2147483647'
|
||
|
testprintffloat $'%00G' $'2147483647'
|
||
|
testprintffloat $'%01G' $'2147483647'
|
||
|
testprintffloat $'%010G' $'2147483647'
|
||
|
testprintffloat $'%020G' $'2147483647'
|
||
|
testprintffloat $'%0G' $'-2147483648'
|
||
|
testprintffloat $'%00G' $'-2147483648'
|
||
|
testprintffloat $'%01G' $'-2147483648'
|
||
|
testprintffloat $'%010G' $'-2147483648'
|
||
|
testprintffloat $'%020G' $'-2147483648'
|
||
|
#testprintffloat $'%04G' $'INFINITY'
|
||
|
#testprintffloat $'%04G' $'NAN'
|
||
|
testprintfint $'%0o' $'0'
|
||
|
testprintfint $'%00o' $'0'
|
||
|
testprintfint $'%01o' $'0'
|
||
|
testprintfint $'%010o' $'0'
|
||
|
testprintfint $'%020o' $'0'
|
||
|
testprintfint $'%0o' $'1'
|
||
|
testprintfint $'%00o' $'1'
|
||
|
testprintfint $'%01o' $'1'
|
||
|
testprintfint $'%010o' $'1'
|
||
|
testprintfint $'%020o' $'1'
|
||
|
testprintfint $'%0o' $'2147483647'
|
||
|
testprintfint $'%00o' $'2147483647'
|
||
|
testprintfint $'%01o' $'2147483647'
|
||
|
testprintfint $'%010o' $'2147483647'
|
||
|
testprintfint $'%020o' $'2147483647'
|
||
|
testprintfint $'%0b' $'0'
|
||
|
testprintfint $'%00b' $'0'
|
||
|
testprintfint $'%01b' $'0'
|
||
|
testprintfint $'%010b' $'0'
|
||
|
testprintfint $'%020b' $'0'
|
||
|
testprintfint $'%0b' $'1'
|
||
|
testprintfint $'%00b' $'1'
|
||
|
testprintfint $'%01b' $'1'
|
||
|
testprintfint $'%010b' $'1'
|
||
|
testprintfint $'%020b' $'1'
|
||
|
testprintfint $'%0b' $'2147483647'
|
||
|
testprintfint $'%00b' $'2147483647'
|
||
|
testprintfint $'%01b' $'2147483647'
|
||
|
testprintfint $'%010b' $'2147483647'
|
||
|
testprintfint $'%020b' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Flag '.'
|
||
|
printf "\e[1;36mTesting Extra Flag "'.'" \e[0;00m"
|
||
|
testprintffloat $'%.a' $'0'
|
||
|
testprintffloat $'%.0a' $'0'
|
||
|
testprintffloat $'%.1a' $'0'
|
||
|
testprintffloat $'%.10a' $'0'
|
||
|
testprintffloat $'%.20a' $'0'
|
||
|
testprintffloat $'%.a' $'1'
|
||
|
testprintffloat $'%.0a' $'1'
|
||
|
testprintffloat $'%.1a' $'1'
|
||
|
testprintffloat $'%.10a' $'1'
|
||
|
testprintffloat $'%.20a' $'1'
|
||
|
testprintffloat $'%.a' $'-1'
|
||
|
testprintffloat $'%.0a' $'-1'
|
||
|
testprintffloat $'%.1a' $'-1'
|
||
|
testprintffloat $'%.10a' $'-1'
|
||
|
testprintffloat $'%.20a' $'-1'
|
||
|
testprintffloat $'%.a' $'2147483647'
|
||
|
testprintffloat $'%.0a' $'2147483647'
|
||
|
testprintffloat $'%.1a' $'2147483647'
|
||
|
testprintffloat $'%.10a' $'2147483647'
|
||
|
testprintffloat $'%.20a' $'2147483647'
|
||
|
testprintffloat $'%.a' $'-2147483648'
|
||
|
testprintffloat $'%.0a' $'-2147483648'
|
||
|
testprintffloat $'%.1a' $'-2147483648'
|
||
|
testprintffloat $'%.10a' $'-2147483648'
|
||
|
testprintffloat $'%.20a' $'-2147483648'
|
||
|
testprintffloat $'%.3a 1.99999'
|
||
|
testprintffloat $'%.3a' $'1.19999'
|
||
|
testprintffloat $'%.3a' $'12.99999'
|
||
|
testprintffloat $'%.0a' $'12.99999'
|
||
|
testprintffloat $'%.3a' $'-1.99999'
|
||
|
testprintffloat $'%.3a' $'-1.199999'
|
||
|
testprintffloat $'%.3a' $'-12.99999'
|
||
|
testprintffloat $'%.0a' $'-12.99999'
|
||
|
testprintffloat $'%.3a' $'-0.00999'
|
||
|
testprintffloat $'%.a' $'0.00099'
|
||
|
testprintffloat $'%.3a' $'-0.00999'
|
||
|
testprintffloat $'%.3a' $'0.00999'
|
||
|
testprintffloat $'%.3a' $'9.9999'
|
||
|
testprintffloat $'%.3a' $'9.995'
|
||
|
testprintffloat $'%.3a' $'9.9995'
|
||
|
testprintffloat $'%.3a' $'9.99995'
|
||
|
testprintffloat $'%.30a' $'0.0'
|
||
|
testprintffloat $'%.12a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.0a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.1a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.2a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.8a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.9a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.10a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.11a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.25a' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3a' $'123.123'
|
||
|
testprintffloat $'%.3a' $'123.123123'
|
||
|
testprintffloat $'%.3a' $'1234.123123'
|
||
|
testprintffloat $'%.3a' $'-123.123123'
|
||
|
testprintffloat $'%.3a' $'-1234.123123'
|
||
|
testprintffloat $'%.30a' $'0.0'
|
||
|
#testprintffloat $'%.10a' $'NAN'
|
||
|
#testprintffloat $'%.10a' $'INFINITY'
|
||
|
testprintffloat $'%.A' $'0'
|
||
|
testprintffloat $'%.0A' $'0'
|
||
|
testprintffloat $'%.1A' $'0'
|
||
|
testprintffloat $'%.10A' $'0'
|
||
|
testprintffloat $'%.20A' $'0'
|
||
|
testprintffloat $'%.A' $'1'
|
||
|
testprintffloat $'%.0A' $'1'
|
||
|
testprintffloat $'%.1A' $'1'
|
||
|
testprintffloat $'%.10A' $'1'
|
||
|
testprintffloat $'%.20A' $'1'
|
||
|
testprintffloat $'%.A' $'-1'
|
||
|
testprintffloat $'%.0A' $'-1'
|
||
|
testprintffloat $'%.1A' $'-1'
|
||
|
testprintffloat $'%.10A' $'-1'
|
||
|
testprintffloat $'%.20A' $'-1'
|
||
|
testprintffloat $'%.A' $'2147483647'
|
||
|
testprintffloat $'%.0A' $'2147483647'
|
||
|
testprintffloat $'%.1A' $'2147483647'
|
||
|
testprintffloat $'%.10A' $'2147483647'
|
||
|
testprintffloat $'%.20A' $'2147483647'
|
||
|
testprintffloat $'%.A' $'-2147483648'
|
||
|
testprintffloat $'%.0A' $'-2147483648'
|
||
|
testprintffloat $'%.1A' $'-2147483648'
|
||
|
testprintffloat $'%.10A' $'-2147483648'
|
||
|
testprintffloat $'%.20A' $'-2147483648'
|
||
|
testprintffloat $'%.3A 1.99999'
|
||
|
testprintffloat $'%.3A' $'1.19999'
|
||
|
testprintffloat $'%.3A' $'12.99999'
|
||
|
testprintffloat $'%.0A' $'12.99999'
|
||
|
testprintffloat $'%.3A' $'-1.99999'
|
||
|
testprintffloat $'%.3A' $'-1.199999'
|
||
|
testprintffloat $'%.3A' $'-12.99999'
|
||
|
testprintffloat $'%.0A' $'-12.99999'
|
||
|
testprintffloat $'%.3A' $'-0.00999'
|
||
|
testprintffloat $'%.A' $'0.00099'
|
||
|
testprintffloat $'%.3A' $'-0.00999'
|
||
|
testprintffloat $'%.3A' $'0.00999'
|
||
|
testprintffloat $'%.3A' $'9.9999'
|
||
|
testprintffloat $'%.3A' $'9.995'
|
||
|
testprintffloat $'%.3A' $'9.9995'
|
||
|
testprintffloat $'%.3A' $'9.99995'
|
||
|
testprintffloat $'%.30A' $'0.0'
|
||
|
testprintffloat $'%.12A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.0A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.1A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.2A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.8A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.9A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.10A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.11A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.25A' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3A' $'123.123'
|
||
|
testprintffloat $'%.3A' $'123.123123'
|
||
|
testprintffloat $'%.3A' $'1234.123123'
|
||
|
testprintffloat $'%.3A' $'-123.123123'
|
||
|
testprintffloat $'%.3A' $'-1234.123123'
|
||
|
testprintffloat $'%.30A' $'0.0'
|
||
|
#testprintffloat $'%.10A' $'NAN'
|
||
|
#testprintffloat $'%.10A' $'INFINITY'
|
||
|
testprintffloat $'%.E' $'0'
|
||
|
testprintffloat $'%.0E' $'0'
|
||
|
testprintffloat $'%.1E' $'0'
|
||
|
testprintffloat $'%.10E' $'0'
|
||
|
testprintffloat $'%.20E' $'0'
|
||
|
testprintffloat $'%.E' $'1'
|
||
|
testprintffloat $'%.0E' $'1'
|
||
|
testprintffloat $'%.1E' $'1'
|
||
|
testprintffloat $'%.10E' $'1'
|
||
|
testprintffloat $'%.20E' $'1'
|
||
|
testprintffloat $'%.E' $'-1'
|
||
|
testprintffloat $'%.0E' $'-1'
|
||
|
testprintffloat $'%.1E' $'-1'
|
||
|
testprintffloat $'%.10E' $'-1'
|
||
|
testprintffloat $'%.20E' $'-1'
|
||
|
testprintffloat $'%.E' $'2147483647'
|
||
|
testprintffloat $'%.0E' $'2147483647'
|
||
|
testprintffloat $'%.1E' $'2147483647'
|
||
|
testprintffloat $'%.10E' $'2147483647'
|
||
|
testprintffloat $'%.20E' $'2147483647'
|
||
|
testprintffloat $'%.E' $'-2147483648'
|
||
|
testprintffloat $'%.0E' $'-2147483648'
|
||
|
testprintffloat $'%.1E' $'-2147483648'
|
||
|
testprintffloat $'%.10E' $'-2147483648'
|
||
|
testprintffloat $'%.20E' $'-2147483648'
|
||
|
testprintffloat $'%.3E 1.99999'
|
||
|
testprintffloat $'%.3E' $'1.19999'
|
||
|
testprintffloat $'%.3E' $'12.99999'
|
||
|
testprintffloat $'%.0E' $'12.99999'
|
||
|
testprintffloat $'%.3E' $'-1.99999'
|
||
|
testprintffloat $'%.3E' $'-1.199999'
|
||
|
testprintffloat $'%.3E' $'-12.99999'
|
||
|
testprintffloat $'%.0E' $'-12.99999'
|
||
|
testprintffloat $'%.3E' $'-0.00999'
|
||
|
testprintffloat $'%.E' $'0.00099'
|
||
|
testprintffloat $'%.3E' $'-0.00999'
|
||
|
testprintffloat $'%.3E' $'0.00999'
|
||
|
testprintffloat $'%.3E' $'9.9999'
|
||
|
testprintffloat $'%.3E' $'9.995'
|
||
|
testprintffloat $'%.3E' $'9.9995'
|
||
|
testprintffloat $'%.3E' $'9.99995'
|
||
|
testprintffloat $'%.30E' $'0.0'
|
||
|
testprintffloat $'%.12E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.0E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.1E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.2E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.8E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.9E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.10E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.11E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.25E' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3E' $'123.123'
|
||
|
testprintffloat $'%.3E' $'123.123123'
|
||
|
testprintffloat $'%.3E' $'1234.123123'
|
||
|
testprintffloat $'%.3E' $'-123.123123'
|
||
|
testprintffloat $'%.3E' $'-1234.123123'
|
||
|
testprintffloat $'%.30E' $'0.0'
|
||
|
#testprintffloat $'%.10E' $'NAN'
|
||
|
#testprintffloat $'%.10E' $'INFINITY'
|
||
|
testprintffloat $'%.F' $'0'
|
||
|
testprintffloat $'%.0F' $'0'
|
||
|
testprintffloat $'%.1F' $'0'
|
||
|
testprintffloat $'%.10F' $'0'
|
||
|
testprintffloat $'%.20F' $'0'
|
||
|
testprintffloat $'%.F' $'1'
|
||
|
testprintffloat $'%.0F' $'1'
|
||
|
testprintffloat $'%.1F' $'1'
|
||
|
testprintffloat $'%.10F' $'1'
|
||
|
testprintffloat $'%.20F' $'1'
|
||
|
testprintffloat $'%.F' $'-1'
|
||
|
testprintffloat $'%.0F' $'-1'
|
||
|
testprintffloat $'%.1F' $'-1'
|
||
|
testprintffloat $'%.10F' $'-1'
|
||
|
testprintffloat $'%.20F' $'-1'
|
||
|
testprintffloat $'%.F' $'2147483647'
|
||
|
testprintffloat $'%.0F' $'2147483647'
|
||
|
testprintffloat $'%.1F' $'2147483647'
|
||
|
testprintffloat $'%.10F' $'2147483647'
|
||
|
testprintffloat $'%.20F' $'2147483647'
|
||
|
testprintffloat $'%.F' $'-2147483648'
|
||
|
testprintffloat $'%.0F' $'-2147483648'
|
||
|
testprintffloat $'%.1F' $'-2147483648'
|
||
|
testprintffloat $'%.10F' $'-2147483648'
|
||
|
testprintffloat $'%.20F' $'-2147483648'
|
||
|
testprintffloat $'%.3F 1.99999'
|
||
|
testprintffloat $'%.3F' $'1.19999'
|
||
|
testprintffloat $'%.3F' $'12.99999'
|
||
|
testprintffloat $'%.0F' $'12.99999'
|
||
|
testprintffloat $'%.3F' $'-1.99999'
|
||
|
testprintffloat $'%.3F' $'-1.199999'
|
||
|
testprintffloat $'%.3F' $'-12.99999'
|
||
|
testprintffloat $'%.0F' $'-12.99999'
|
||
|
testprintffloat $'%.3F' $'-0.00999'
|
||
|
testprintffloat $'%.F' $'0.00099'
|
||
|
testprintffloat $'%.3F' $'-0.00999'
|
||
|
testprintffloat $'%.3F' $'0.00999'
|
||
|
testprintffloat $'%.3F' $'9.9999'
|
||
|
testprintffloat $'%.3F' $'9.995'
|
||
|
testprintffloat $'%.3F' $'9.9995'
|
||
|
testprintffloat $'%.3F' $'9.99995'
|
||
|
testprintffloat $'%.30F' $'0.0'
|
||
|
testprintffloat $'%.12F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.0F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.1F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.2F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.8F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.9F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.10F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.11F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.25F' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3F' $'123.123'
|
||
|
testprintffloat $'%.3F' $'123.123123'
|
||
|
testprintffloat $'%.3F' $'1234.123123'
|
||
|
testprintffloat $'%.3F' $'-123.123123'
|
||
|
testprintffloat $'%.3F' $'-1234.123123'
|
||
|
testprintffloat $'%.30F' $'0.0'
|
||
|
#testprintffloat $'%.10F' $'NAN'
|
||
|
#testprintffloat $'%.10F' $'INFINITY'
|
||
|
testprintffloat $'%.G' $'0'
|
||
|
testprintffloat $'%.0G' $'0'
|
||
|
testprintffloat $'%.1G' $'0'
|
||
|
testprintffloat $'%.10G' $'0'
|
||
|
testprintffloat $'%.20G' $'0'
|
||
|
testprintffloat $'%.G' $'1'
|
||
|
testprintffloat $'%.0G' $'1'
|
||
|
testprintffloat $'%.1G' $'1'
|
||
|
testprintffloat $'%.10G' $'1'
|
||
|
testprintffloat $'%.20G' $'1'
|
||
|
testprintffloat $'%.G' $'-1'
|
||
|
testprintffloat $'%.0G' $'-1'
|
||
|
testprintffloat $'%.1G' $'-1'
|
||
|
testprintffloat $'%.10G' $'-1'
|
||
|
testprintffloat $'%.20G' $'-1'
|
||
|
testprintffloat $'%.G' $'2147483647'
|
||
|
testprintffloat $'%.0G' $'2147483647'
|
||
|
testprintffloat $'%.1G' $'2147483647'
|
||
|
testprintffloat $'%.10G' $'2147483647'
|
||
|
testprintffloat $'%.20G' $'2147483647'
|
||
|
testprintffloat $'%.G' $'-2147483648'
|
||
|
testprintffloat $'%.0G' $'-2147483648'
|
||
|
testprintffloat $'%.1G' $'-2147483648'
|
||
|
testprintffloat $'%.10G' $'-2147483648'
|
||
|
testprintffloat $'%.20G' $'-2147483648'
|
||
|
testprintffloat $'%.3G 1.99999'
|
||
|
testprintffloat $'%.3G' $'1.19999'
|
||
|
testprintffloat $'%.3G' $'12.99999'
|
||
|
testprintffloat $'%.0G' $'12.99999'
|
||
|
testprintffloat $'%.3G' $'-1.99999'
|
||
|
testprintffloat $'%.3G' $'-1.199999'
|
||
|
testprintffloat $'%.3G' $'-12.99999'
|
||
|
testprintffloat $'%.0G' $'-12.99999'
|
||
|
testprintffloat $'%.3G' $'-0.00999'
|
||
|
testprintffloat $'%.G' $'0.00099'
|
||
|
testprintffloat $'%.3G' $'-0.00999'
|
||
|
testprintffloat $'%.3G' $'0.00999'
|
||
|
testprintffloat $'%.3G' $'9.9999'
|
||
|
testprintffloat $'%.3G' $'9.995'
|
||
|
testprintffloat $'%.3G' $'9.9995'
|
||
|
testprintffloat $'%.3G' $'9.99995'
|
||
|
testprintffloat $'%.30G' $'0.0'
|
||
|
testprintffloat $'%.12G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.0G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.1G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.2G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.8G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.9G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.10G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.11G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.25G' $'1234567890.1234567890'
|
||
|
testprintffloat $'%.3G' $'123.123'
|
||
|
testprintffloat $'%.3G' $'123.123123'
|
||
|
testprintffloat $'%.3G' $'1234.123123'
|
||
|
testprintffloat $'%.3G' $'-123.123123'
|
||
|
testprintffloat $'%.3G' $'-1234.123123'
|
||
|
testprintffloat $'%.30G' $'0.0'
|
||
|
#testprintffloat $'%.10G' $'NAN'
|
||
|
#testprintffloat $'%.10G' $'INFINITY'
|
||
|
testprintfint $'%.o' $'0'
|
||
|
testprintfint $'%.0o' $'0'
|
||
|
testprintfint $'%.1o' $'0'
|
||
|
testprintfint $'%.10o' $'0'
|
||
|
testprintfint $'%.20o' $'0'
|
||
|
testprintfint $'%.o' $'1'
|
||
|
testprintfint $'%.0o' $'1'
|
||
|
testprintfint $'%.1o' $'1'
|
||
|
testprintfint $'%.10o' $'1'
|
||
|
testprintfint $'%.20o' $'1'
|
||
|
testprintfint $'%.o' $'2147483647'
|
||
|
testprintfint $'%.0o' $'2147483647'
|
||
|
testprintfint $'%.1o' $'2147483647'
|
||
|
testprintfint $'%.10o' $'2147483647'
|
||
|
testprintfint $'%.20o' $'2147483647'
|
||
|
testprintfint $'%.b' $'0'
|
||
|
testprintfint $'%.0b' $'0'
|
||
|
testprintfint $'%.1b' $'0'
|
||
|
testprintfint $'%.10b' $'0'
|
||
|
testprintfint $'%.20b' $'0'
|
||
|
testprintfint $'%.b' $'1'
|
||
|
testprintfint $'%.0b' $'1'
|
||
|
testprintfint $'%.1b' $'1'
|
||
|
testprintfint $'%.10b' $'1'
|
||
|
testprintfint $'%.20b' $'1'
|
||
|
testprintfint $'%.b' $'2147483647'
|
||
|
testprintfint $'%.0b' $'2147483647'
|
||
|
testprintfint $'%.1b' $'2147483647'
|
||
|
testprintfint $'%.10b' $'2147483647'
|
||
|
testprintfint $'%.20b' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Flag '#'
|
||
|
printf "\e[1;36mTesting Extra Flag "'#'" \e[0;00m"
|
||
|
testprintffloat $'%#a' $'0'
|
||
|
testprintffloat $'%#a' $'1'
|
||
|
testprintffloat $'%#a' $'1.12345'
|
||
|
testprintffloat $'%#a' $'-1'
|
||
|
testprintffloat $'%#a' $'-1.12345'
|
||
|
#testprintffloat $'%#a' $'NAN'
|
||
|
#testprintffloat $'%#a' $'INFINITY'
|
||
|
testprintffloat $'%#A' $'0'
|
||
|
testprintffloat $'%#A' $'1'
|
||
|
testprintffloat $'%#A' $'1.12345'
|
||
|
testprintffloat $'%#A' $'-1'
|
||
|
testprintffloat $'%#A' $'-1.12345'
|
||
|
#testprintffloat $'%#A' $'NAN'
|
||
|
#testprintffloat $'%#A' $'INFINITY'
|
||
|
testprintffloat $'%#E' $'0'
|
||
|
testprintffloat $'%#E' $'1'
|
||
|
testprintffloat $'%#E' $'1.12345'
|
||
|
testprintffloat $'%#E' $'-1'
|
||
|
testprintffloat $'%#E' $'-1.12345'
|
||
|
#testprintffloat $'%#E' $'NAN'
|
||
|
#testprintffloat $'%#E' $'INFINITY'
|
||
|
testprintffloat $'%#F' $'0'
|
||
|
testprintffloat $'%#F' $'1'
|
||
|
testprintffloat $'%#F' $'1.12345'
|
||
|
testprintffloat $'%#F' $'-1'
|
||
|
testprintffloat $'%#F' $'-1.12345'
|
||
|
#testprintffloat $'%#F' $'NAN'
|
||
|
#testprintffloat $'%#F' $'INFINITY'
|
||
|
testprintffloat $'%#G' $'0'
|
||
|
testprintffloat $'%#G' $'1'
|
||
|
testprintffloat $'%#G' $'1.12345'
|
||
|
testprintffloat $'%#G' $'-1'
|
||
|
testprintffloat $'%#G' $'-1.12345'
|
||
|
#testprintffloat $'%#G' $'NAN'
|
||
|
#testprintffloat $'%#G' $'INFINITY'
|
||
|
testprintfint $'%#o' $'0'
|
||
|
testprintfint $'%#o' $'1'
|
||
|
testprintfint $'%#o' $'2147483647'
|
||
|
testprintfint $'%#b' $'0'
|
||
|
testprintfint $'%#b' $'1'
|
||
|
testprintfint $'%#b' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Flag ' '
|
||
|
printf "\e[1;36mTesting Extra Flag "' '" \e[0;00m"
|
||
|
testprintffloat $'% a' $'0'
|
||
|
testprintffloat $'% a' $'1'
|
||
|
testprintffloat $'% a' $'1.12345'
|
||
|
testprintffloat $'% a' $'-1'
|
||
|
testprintffloat $'% a' $'-1.12345'
|
||
|
#testprintffloat $'% a' $'NAN'
|
||
|
#testprintffloat $'% a' $'INFINITY'
|
||
|
testprintffloat $'% A' $'0'
|
||
|
testprintffloat $'% A' $'1'
|
||
|
testprintffloat $'% A' $'1.12345'
|
||
|
testprintffloat $'% A' $'-1'
|
||
|
testprintffloat $'% A' $'-1.12345'
|
||
|
#testprintffloat $'% A' $'NAN'
|
||
|
#testprintffloat $'% A' $'INFINITY'
|
||
|
testprintffloat $'% E' $'0'
|
||
|
testprintffloat $'% E' $'1'
|
||
|
testprintffloat $'% E' $'1.12345'
|
||
|
testprintffloat $'% E' $'-1'
|
||
|
testprintffloat $'% E' $'-1.12345'
|
||
|
#testprintffloat $'% E' $'NAN'
|
||
|
#testprintffloat $'% E' $'INFINITY'
|
||
|
testprintffloat $'% F' $'0'
|
||
|
testprintffloat $'% F' $'1'
|
||
|
testprintffloat $'% F' $'1.12345'
|
||
|
testprintffloat $'% F' $'-1'
|
||
|
testprintffloat $'% F' $'-1.12345'
|
||
|
#testprintffloat $'% F' $'NAN'
|
||
|
#testprintffloat $'% F' $'INFINITY'
|
||
|
testprintffloat $'% G' $'0'
|
||
|
testprintffloat $'% G' $'1'
|
||
|
testprintffloat $'% G' $'1.12345'
|
||
|
testprintffloat $'% G' $'-1'
|
||
|
testprintffloat $'% G' $'-1.12345'
|
||
|
#testprintffloat $'% G' $'NAN'
|
||
|
#testprintffloat $'% G' $'INFINITY'
|
||
|
testprintfint $'% o' $'0'
|
||
|
testprintfint $'% o' $'1'
|
||
|
testprintfint $'% o' $'2147483647'
|
||
|
testprintfint $'% b' $'0'
|
||
|
testprintfint $'% b' $'1'
|
||
|
testprintfint $'% b' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Flag '+'
|
||
|
printf "\e[1;36mTesting Extra Flag "'+'" \e[0;00m"
|
||
|
testprintffloat $'%+a' $'0'
|
||
|
testprintffloat $'%+a' $'1'
|
||
|
testprintffloat $'%+a' $'1.12345'
|
||
|
testprintffloat $'%+a' $'-1'
|
||
|
testprintffloat $'%+a' $'-1.12345'
|
||
|
#testprintffloat $'%+a' $'NAN'
|
||
|
#testprintffloat $'%+a' $'INFINITY'
|
||
|
testprintffloat $'%+A' $'0'
|
||
|
testprintffloat $'%+A' $'1'
|
||
|
testprintffloat $'%+A' $'1.12345'
|
||
|
testprintffloat $'%+A' $'-1'
|
||
|
testprintffloat $'%+A' $'-1.12345'
|
||
|
#testprintffloat $'%+A' $'NAN'
|
||
|
#testprintffloat $'%+A' $'INFINITY'
|
||
|
testprintffloat $'%+E' $'0'
|
||
|
testprintffloat $'%+E' $'1'
|
||
|
testprintffloat $'%+E' $'1.12345'
|
||
|
testprintffloat $'%+E' $'-1'
|
||
|
testprintffloat $'%+E' $'-1.12345'
|
||
|
#testprintffloat $'%+E' $'NAN'
|
||
|
#testprintffloat $'%+E' $'INFINITY'
|
||
|
testprintffloat $'%+F' $'0'
|
||
|
testprintffloat $'%+F' $'1'
|
||
|
testprintffloat $'%+F' $'1.12345'
|
||
|
testprintffloat $'%+F' $'-1'
|
||
|
testprintffloat $'%+F' $'-1.12345'
|
||
|
#testprintffloat $'%+F' $'NAN'
|
||
|
#testprintffloat $'%+F' $'INFINITY'
|
||
|
testprintffloat $'%+G' $'0'
|
||
|
testprintffloat $'%+G' $'1'
|
||
|
testprintffloat $'%+G' $'1.12345'
|
||
|
testprintffloat $'%+G' $'-1'
|
||
|
testprintffloat $'%+G' $'-1.12345'
|
||
|
#testprintffloat $'%+G' $'NAN'
|
||
|
#testprintffloat $'%+G' $'INFINITY'
|
||
|
testprintfint $'%+o' $'0'
|
||
|
testprintfint $'%+o' $'1'
|
||
|
testprintfint $'%+o' $'2147483647'
|
||
|
testprintfint $'%+b' $'0'
|
||
|
testprintfint $'%+b' $'1'
|
||
|
testprintfint $'%+b' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Flag '1-9'
|
||
|
printf "\e[1;36mTesting Extra Flag "'1-9'" \e[0;00m"
|
||
|
testprintffloat $'%0a' $'0'
|
||
|
testprintffloat $'%0a' $'1'
|
||
|
testprintffloat $'%0a' $'1.12345'
|
||
|
testprintffloat $'%0a' $'-1'
|
||
|
testprintffloat $'%0a' $'-1.12345'
|
||
|
testprintffloat $'%1a' $'0'
|
||
|
testprintffloat $'%1a' $'1'
|
||
|
testprintffloat $'%1a' $'1.12345'
|
||
|
testprintffloat $'%1a' $'-1'
|
||
|
testprintffloat $'%1a' $'-1.12345'
|
||
|
testprintffloat $'%7a' $'0'
|
||
|
testprintffloat $'%7a' $'1'
|
||
|
testprintffloat $'%7a' $'1.12345'
|
||
|
testprintffloat $'%7a' $'-1'
|
||
|
testprintffloat $'%7a' $'-1.12345'
|
||
|
testprintffloat $'%11a' $'0'
|
||
|
testprintffloat $'%11a' $'1'
|
||
|
testprintffloat $'%11a' $'1.12345'
|
||
|
testprintffloat $'%11a' $'-1'
|
||
|
testprintffloat $'%11a' $'-1.12345'
|
||
|
#testprintffloat $'%0a' $'NAN'
|
||
|
#testprintffloat $'%0a' $'INFINITY'
|
||
|
#testprintffloat $'%10a' $'NAN'
|
||
|
#testprintffloat $'%10a' $'INFINITY'
|
||
|
testprintffloat $'%0A' $'0'
|
||
|
testprintffloat $'%0A' $'1'
|
||
|
testprintffloat $'%0A' $'1.12345'
|
||
|
testprintffloat $'%0A' $'-1'
|
||
|
testprintffloat $'%0A' $'-1.12345'
|
||
|
testprintffloat $'%1A' $'0'
|
||
|
testprintffloat $'%1A' $'1'
|
||
|
testprintffloat $'%1A' $'1.12345'
|
||
|
testprintffloat $'%1A' $'-1'
|
||
|
testprintffloat $'%1A' $'-1.12345'
|
||
|
testprintffloat $'%7A' $'0'
|
||
|
testprintffloat $'%7A' $'1'
|
||
|
testprintffloat $'%7A' $'1.12345'
|
||
|
testprintffloat $'%7A' $'-1'
|
||
|
testprintffloat $'%7A' $'-1.12345'
|
||
|
testprintffloat $'%11A' $'0'
|
||
|
testprintffloat $'%11A' $'1'
|
||
|
testprintffloat $'%11A' $'1.12345'
|
||
|
testprintffloat $'%11A' $'-1'
|
||
|
testprintffloat $'%11A' $'-1.12345'
|
||
|
#testprintffloat $'%0A' $'NAN'
|
||
|
#testprintffloat $'%0A' $'INFINITY'
|
||
|
#testprintffloat $'%10A' $'NAN'
|
||
|
#testprintffloat $'%10A' $'INFINITY'
|
||
|
testprintffloat $'%0E' $'0'
|
||
|
testprintffloat $'%0E' $'1'
|
||
|
testprintffloat $'%0E' $'1.12345'
|
||
|
testprintffloat $'%0E' $'-1'
|
||
|
testprintffloat $'%0E' $'-1.12345'
|
||
|
testprintffloat $'%1E' $'0'
|
||
|
testprintffloat $'%1E' $'1'
|
||
|
testprintffloat $'%1E' $'1.12345'
|
||
|
testprintffloat $'%1E' $'-1'
|
||
|
testprintffloat $'%1E' $'-1.12345'
|
||
|
testprintffloat $'%7E' $'0'
|
||
|
testprintffloat $'%7E' $'1'
|
||
|
testprintffloat $'%7E' $'1.12345'
|
||
|
testprintffloat $'%7E' $'-1'
|
||
|
testprintffloat $'%7E' $'-1.12345'
|
||
|
testprintffloat $'%11E' $'0'
|
||
|
testprintffloat $'%11E' $'1'
|
||
|
testprintffloat $'%11E' $'1.12345'
|
||
|
testprintffloat $'%11E' $'-1'
|
||
|
testprintffloat $'%11E' $'-1.12345'
|
||
|
#testprintffloat $'%0E' $'NAN'
|
||
|
#testprintffloat $'%0E' $'INFINITY'
|
||
|
#testprintffloat $'%10E' $'NAN'
|
||
|
#testprintffloat $'%10E' $'INFINITY'
|
||
|
testprintffloat $'%0F' $'0'
|
||
|
testprintffloat $'%0F' $'1'
|
||
|
testprintffloat $'%0F' $'1.12345'
|
||
|
testprintffloat $'%0F' $'-1'
|
||
|
testprintffloat $'%0F' $'-1.12345'
|
||
|
testprintffloat $'%1F' $'0'
|
||
|
testprintffloat $'%1F' $'1'
|
||
|
testprintffloat $'%1F' $'1.12345'
|
||
|
testprintffloat $'%1F' $'-1'
|
||
|
testprintffloat $'%1F' $'-1.12345'
|
||
|
testprintffloat $'%7F' $'0'
|
||
|
testprintffloat $'%7F' $'1'
|
||
|
testprintffloat $'%7F' $'1.12345'
|
||
|
testprintffloat $'%7F' $'-1'
|
||
|
testprintffloat $'%7F' $'-1.12345'
|
||
|
testprintffloat $'%11F' $'0'
|
||
|
testprintffloat $'%11F' $'1'
|
||
|
testprintffloat $'%11F' $'1.12345'
|
||
|
testprintffloat $'%11F' $'-1'
|
||
|
testprintffloat $'%11F' $'-1.12345'
|
||
|
#testprintffloat $'%0F' $'NAN'
|
||
|
#testprintffloat $'%0F' $'INFINITY'
|
||
|
#testprintffloat $'%10F' $'NAN'
|
||
|
#testprintffloat $'%10F' $'INFINITY'
|
||
|
testprintffloat $'%0G' $'0'
|
||
|
testprintffloat $'%0G' $'1'
|
||
|
testprintffloat $'%0G' $'1.12345'
|
||
|
testprintffloat $'%0G' $'-1'
|
||
|
testprintffloat $'%0G' $'-1.12345'
|
||
|
testprintffloat $'%1G' $'0'
|
||
|
testprintffloat $'%1G' $'1'
|
||
|
testprintffloat $'%1G' $'1.12345'
|
||
|
testprintffloat $'%1G' $'-1'
|
||
|
testprintffloat $'%1G' $'-1.12345'
|
||
|
testprintffloat $'%7G' $'0'
|
||
|
testprintffloat $'%7G' $'1'
|
||
|
testprintffloat $'%7G' $'1.12345'
|
||
|
testprintffloat $'%7G' $'-1'
|
||
|
testprintffloat $'%7G' $'-1.12345'
|
||
|
testprintffloat $'%11G' $'0'
|
||
|
testprintffloat $'%11G' $'1'
|
||
|
testprintffloat $'%11G' $'1.12345'
|
||
|
testprintffloat $'%11G' $'-1'
|
||
|
testprintffloat $'%11G' $'-1.12345'
|
||
|
#testprintffloat $'%0G' $'NAN'
|
||
|
#testprintffloat $'%0G' $'INFINITY'
|
||
|
#testprintffloat $'%10G' $'NAN'
|
||
|
#testprintffloat $'%10G' $'INFINITY'
|
||
|
testprintfint $'%1o' $'0'
|
||
|
testprintfint $'%1o' $'1'
|
||
|
testprintfint $'%1o' $'2147483647'
|
||
|
testprintfint $'%2o' $'0'
|
||
|
testprintfint $'%2o' $'1'
|
||
|
testprintfint $'%2o' $'2147483647'
|
||
|
testprintfint $'%5o' $'0'
|
||
|
testprintfint $'%5o' $'1'
|
||
|
testprintfint $'%5o' $'2147483647'
|
||
|
testprintfint $'%8o' $'0'
|
||
|
testprintfint $'%8o' $'1'
|
||
|
testprintfint $'%8o' $'2147483647'
|
||
|
testprintfint $'%22o' $'0'
|
||
|
testprintfint $'%22o' $'1'
|
||
|
testprintfint $'%22o' $'2147483647'
|
||
|
testprintfint $'%1b' $'0'
|
||
|
testprintfint $'%1b' $'1'
|
||
|
testprintfint $'%1b' $'2147483647'
|
||
|
testprintfint $'%2b' $'0'
|
||
|
testprintfint $'%2b' $'1'
|
||
|
testprintfint $'%2b' $'2147483647'
|
||
|
testprintfint $'%5b' $'0'
|
||
|
testprintfint $'%5b' $'1'
|
||
|
testprintfint $'%5b' $'2147483647'
|
||
|
testprintfint $'%8b' $'0'
|
||
|
testprintfint $'%8b' $'1'
|
||
|
testprintfint $'%8b' $'2147483647'
|
||
|
testprintfint $'%22b' $'0'
|
||
|
testprintfint $'%22b' $'1'
|
||
|
testprintfint $'%22b' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Flag '*'
|
||
|
printf "\e[1;36mTesting Extra Flag "'*'" \e[0;00m"
|
||
|
testprintffloatstar $'%*a' $'0' $'0'
|
||
|
testprintffloatstar $'%*a' $'0' $'1'
|
||
|
testprintffloatstar $'%*a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*a' $'0' $'-1'
|
||
|
testprintffloatstar $'%*a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*a' $'1' $'0'
|
||
|
testprintffloatstar $'%*a' $'1' $'1'
|
||
|
testprintffloatstar $'%*a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*a' $'1' $'-1'
|
||
|
testprintffloatstar $'%*a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*a' $'10' $'0'
|
||
|
testprintffloatstar $'%*a' $'10' $'1'
|
||
|
testprintffloatstar $'%*a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*a' $'10' $'-1'
|
||
|
testprintffloatstar $'%*a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*a' $'0' $'0'
|
||
|
testprintffloatstar $'%-*a' $'0' $'1'
|
||
|
testprintffloatstar $'%-*a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*a' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*a' $'1' $'0'
|
||
|
testprintffloatstar $'%-*a' $'1' $'1'
|
||
|
testprintffloatstar $'%-*a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*a' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*a' $'10' $'0'
|
||
|
testprintffloatstar $'%-*a' $'10' $'1'
|
||
|
testprintffloatstar $'%-*a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*a' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*a' $'0' $'0'
|
||
|
testprintffloatstar $'%0*a' $'0' $'1'
|
||
|
testprintffloatstar $'%0*a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*a' $'0' $'-.'
|
||
|
testprintffloatstar $'%0*a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*a' $'1' $'0'
|
||
|
testprintffloatstar $'%0*a' $'1' $'1'
|
||
|
testprintffloatstar $'%0*a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*a' $'1' $'-.'
|
||
|
testprintffloatstar $'%0*a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*a' $'10' $'0'
|
||
|
testprintffloatstar $'%0*a' $'10' $'1'
|
||
|
testprintffloatstar $'%0*a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*a' $'10' $'-.'
|
||
|
testprintffloatstar $'%0*a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%.*a' $'0' $'0'
|
||
|
testprintffloatstar $'%.*a' $'0' $'1'
|
||
|
testprintffloatstar $'%.*a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%.*a' $'0' $'-1'
|
||
|
testprintffloatstar $'%.*a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%.*a' $'1' $'0'
|
||
|
testprintffloatstar $'%.*a' $'1' $'1'
|
||
|
testprintffloatstar $'%.*a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%.*a' $'1' $'-1'
|
||
|
testprintffloatstar $'%.*a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%.*a' $'10' $'0'
|
||
|
testprintffloatstar $'%.*a' $'10' $'1'
|
||
|
testprintffloatstar $'%.*a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%.*a' $'10' $'-1'
|
||
|
testprintffloatstar $'%.*a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*A' $'0' $'0'
|
||
|
testprintffloatstar $'%*A' $'0' $'1'
|
||
|
testprintffloatstar $'%*A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*A' $'0' $'-1'
|
||
|
testprintffloatstar $'%*A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*A' $'1' $'0'
|
||
|
testprintffloatstar $'%*A' $'1' $'1'
|
||
|
testprintffloatstar $'%*A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*A' $'1' $'-1'
|
||
|
testprintffloatstar $'%*A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*A' $'10' $'0'
|
||
|
testprintffloatstar $'%*A' $'10' $'1'
|
||
|
testprintffloatstar $'%*A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*A' $'10' $'-1'
|
||
|
testprintffloatstar $'%*A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*A' $'0' $'0'
|
||
|
testprintffloatstar $'%-*A' $'0' $'1'
|
||
|
testprintffloatstar $'%-*A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*A' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*A' $'1' $'0'
|
||
|
testprintffloatstar $'%-*A' $'1' $'1'
|
||
|
testprintffloatstar $'%-*A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*A' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*A' $'10' $'0'
|
||
|
testprintffloatstar $'%-*A' $'10' $'1'
|
||
|
testprintffloatstar $'%-*A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*A' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*A' $'0' $'0'
|
||
|
testprintffloatstar $'%0*A' $'0' $'1'
|
||
|
testprintffloatstar $'%0*A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*A' $'0' $'-.'
|
||
|
testprintffloatstar $'%0*A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*A' $'1' $'0'
|
||
|
testprintffloatstar $'%0*A' $'1' $'1'
|
||
|
testprintffloatstar $'%0*A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*A' $'1' $'-.'
|
||
|
testprintffloatstar $'%0*A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*A' $'10' $'0'
|
||
|
testprintffloatstar $'%0*A' $'10' $'1'
|
||
|
testprintffloatstar $'%0*A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*A' $'10' $'-.'
|
||
|
testprintffloatstar $'%0*A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%.*A' $'0' $'0'
|
||
|
testprintffloatstar $'%.*A' $'0' $'1'
|
||
|
testprintffloatstar $'%.*A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%.*A' $'0' $'-1'
|
||
|
testprintffloatstar $'%.*A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%.*A' $'1' $'0'
|
||
|
testprintffloatstar $'%.*A' $'1' $'1'
|
||
|
testprintffloatstar $'%.*A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%.*A' $'1' $'-1'
|
||
|
testprintffloatstar $'%.*A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%.*A' $'10' $'0'
|
||
|
testprintffloatstar $'%.*A' $'10' $'1'
|
||
|
testprintffloatstar $'%.*A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%.*A' $'10' $'-1'
|
||
|
testprintffloatstar $'%.*A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*E' $'0' $'0'
|
||
|
testprintffloatstar $'%*E' $'0' $'1'
|
||
|
testprintffloatstar $'%*E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*E' $'0' $'-1'
|
||
|
testprintffloatstar $'%*E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*E' $'1' $'0'
|
||
|
testprintffloatstar $'%*E' $'1' $'1'
|
||
|
testprintffloatstar $'%*E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*E' $'1' $'-1'
|
||
|
testprintffloatstar $'%*E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*E' $'10' $'0'
|
||
|
testprintffloatstar $'%*E' $'10' $'1'
|
||
|
testprintffloatstar $'%*E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*E' $'10' $'-1'
|
||
|
testprintffloatstar $'%*E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*E' $'0' $'0'
|
||
|
testprintffloatstar $'%-*E' $'0' $'1'
|
||
|
testprintffloatstar $'%-*E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*E' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*E' $'1' $'0'
|
||
|
testprintffloatstar $'%-*E' $'1' $'1'
|
||
|
testprintffloatstar $'%-*E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*E' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*E' $'10' $'0'
|
||
|
testprintffloatstar $'%-*E' $'10' $'1'
|
||
|
testprintffloatstar $'%-*E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*E' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*E' $'0' $'0'
|
||
|
testprintffloatstar $'%0*E' $'0' $'1'
|
||
|
testprintffloatstar $'%0*E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*E' $'0' $'-.'
|
||
|
testprintffloatstar $'%0*E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*E' $'1' $'0'
|
||
|
testprintffloatstar $'%0*E' $'1' $'1'
|
||
|
testprintffloatstar $'%0*E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*E' $'1' $'-.'
|
||
|
testprintffloatstar $'%0*E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*E' $'10' $'0'
|
||
|
testprintffloatstar $'%0*E' $'10' $'1'
|
||
|
testprintffloatstar $'%0*E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*E' $'10' $'-.'
|
||
|
testprintffloatstar $'%0*E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%.*E' $'0' $'0'
|
||
|
testprintffloatstar $'%.*E' $'0' $'1'
|
||
|
testprintffloatstar $'%.*E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%.*E' $'0' $'-1'
|
||
|
testprintffloatstar $'%.*E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%.*E' $'1' $'0'
|
||
|
testprintffloatstar $'%.*A' $'1' $'1'
|
||
|
testprintffloatstar $'%.*E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%.*E' $'1' $'-1'
|
||
|
testprintffloatstar $'%.*E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%.*E' $'10' $'0'
|
||
|
testprintffloatstar $'%.*E' $'10' $'1'
|
||
|
testprintffloatstar $'%.*E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%.*E' $'10' $'-1'
|
||
|
testprintffloatstar $'%.*E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*F' $'0' $'0'
|
||
|
testprintffloatstar $'%*F' $'0' $'1'
|
||
|
testprintffloatstar $'%*F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*F' $'0' $'-1'
|
||
|
testprintffloatstar $'%*F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*F' $'1' $'0'
|
||
|
testprintffloatstar $'%*F' $'1' $'1'
|
||
|
testprintffloatstar $'%*F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*F' $'1' $'-1'
|
||
|
testprintffloatstar $'%*F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*F' $'10' $'0'
|
||
|
testprintffloatstar $'%*F' $'10' $'1'
|
||
|
testprintffloatstar $'%*F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*F' $'10' $'-1'
|
||
|
testprintffloatstar $'%*F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*F' $'0' $'0'
|
||
|
testprintffloatstar $'%-*F' $'0' $'1'
|
||
|
testprintffloatstar $'%-*F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*F' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*F' $'1' $'0'
|
||
|
testprintffloatstar $'%-*F' $'1' $'1'
|
||
|
testprintffloatstar $'%-*F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*F' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*F' $'10' $'0'
|
||
|
testprintffloatstar $'%-*F' $'10' $'1'
|
||
|
testprintffloatstar $'%-*F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*F' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*F' $'0' $'0'
|
||
|
testprintffloatstar $'%0*F' $'0' $'1'
|
||
|
testprintffloatstar $'%0*F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*F' $'0' $'-.'
|
||
|
testprintffloatstar $'%0*F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*F' $'1' $'0'
|
||
|
testprintffloatstar $'%0*F' $'1' $'1'
|
||
|
testprintffloatstar $'%0*F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*F' $'1' $'-.'
|
||
|
testprintffloatstar $'%0*F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*F' $'10' $'0'
|
||
|
testprintffloatstar $'%0*F' $'10' $'1'
|
||
|
testprintffloatstar $'%0*F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*F' $'10' $'-.'
|
||
|
testprintffloatstar $'%0*F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%.*F' $'0' $'0'
|
||
|
testprintffloatstar $'%.*F' $'0' $'1'
|
||
|
testprintffloatstar $'%.*F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%.*F' $'0' $'-1'
|
||
|
testprintffloatstar $'%.*F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%.*F' $'1' $'0'
|
||
|
testprintffloatstar $'%.*F' $'1' $'1'
|
||
|
testprintffloatstar $'%.*F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%.*F' $'1' $'-1'
|
||
|
testprintffloatstar $'%.*F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%.*F' $'10' $'0'
|
||
|
testprintffloatstar $'%.*F' $'10' $'1'
|
||
|
testprintffloatstar $'%.*F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%.*F' $'10' $'-1'
|
||
|
testprintffloatstar $'%.*F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*G' $'0' $'0'
|
||
|
testprintffloatstar $'%*G' $'0' $'1'
|
||
|
testprintffloatstar $'%*G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*G' $'0' $'-1'
|
||
|
testprintffloatstar $'%*G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*G' $'1' $'0'
|
||
|
testprintffloatstar $'%*G' $'1' $'1'
|
||
|
testprintffloatstar $'%*G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*G' $'1' $'-1'
|
||
|
testprintffloatstar $'%*G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*G' $'10' $'0'
|
||
|
testprintffloatstar $'%*G' $'10' $'1'
|
||
|
testprintffloatstar $'%*G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*G' $'10' $'-1'
|
||
|
testprintffloatstar $'%*G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*G' $'0' $'0'
|
||
|
testprintffloatstar $'%-*G' $'0' $'1'
|
||
|
testprintffloatstar $'%-*G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*G' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*G' $'1' $'0'
|
||
|
testprintffloatstar $'%-*G' $'1' $'1'
|
||
|
testprintffloatstar $'%-*G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*G' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*G' $'10' $'0'
|
||
|
testprintffloatstar $'%-*G' $'10' $'1'
|
||
|
testprintffloatstar $'%-*G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*G' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*G' $'0' $'0'
|
||
|
testprintffloatstar $'%0*G' $'0' $'1'
|
||
|
testprintffloatstar $'%0*G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*G' $'0' $'-.'
|
||
|
testprintffloatstar $'%0*G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*G' $'1' $'0'
|
||
|
testprintffloatstar $'%0*G' $'1' $'1'
|
||
|
testprintffloatstar $'%0*G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*G' $'1' $'-.'
|
||
|
testprintffloatstar $'%0*G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*G' $'10' $'0'
|
||
|
testprintffloatstar $'%0*G' $'10' $'1'
|
||
|
testprintffloatstar $'%0*G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*G' $'10' $'-.'
|
||
|
testprintffloatstar $'%0*G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%.*G' $'0' $'0'
|
||
|
testprintffloatstar $'%.*G' $'0' $'1'
|
||
|
testprintffloatstar $'%.*G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%.*G' $'0' $'-1'
|
||
|
testprintffloatstar $'%.*G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%.*G' $'1' $'0'
|
||
|
testprintffloatstar $'%.*G' $'1' $'1'
|
||
|
testprintffloatstar $'%.*G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%.*G' $'1' $'-1'
|
||
|
testprintffloatstar $'%.*G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%.*G' $'10' $'0'
|
||
|
testprintffloatstar $'%.*G' $'10' $'1'
|
||
|
testprintffloatstar $'%.*G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%.*G' $'10' $'-1'
|
||
|
testprintffloatstar $'%.*G' $'10' $'-1.12345'
|
||
|
testprintfintstar $'%*o' $'0' $'0'
|
||
|
testprintfintstar $'%*o' $'1' $'0'
|
||
|
testprintfintstar $'%*o' $'20' $'0'
|
||
|
testprintfintstar $'%*o' $'0' $'1'
|
||
|
testprintfintstar $'%*o' $'1' $'1'
|
||
|
testprintfintstar $'%*o' $'20' $'1'
|
||
|
testprintfintstar $'%*o' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*o' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*o' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*o' $'0' $'0'
|
||
|
testprintfintstar $'%-*o' $'1' $'0'
|
||
|
testprintfintstar $'%-*o' $'20' $'0'
|
||
|
testprintfintstar $'%-*o' $'0' $'1'
|
||
|
testprintfintstar $'%-*o' $'1' $'1'
|
||
|
testprintfintstar $'%-*o' $'20' $'1'
|
||
|
testprintfintstar $'%-*o' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*o' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*o' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*o' $'0' $'0'
|
||
|
testprintfintstar $'%0*o' $'1' $'0'
|
||
|
testprintfintstar $'%0*o' $'20' $'0'
|
||
|
testprintfintstar $'%0*o' $'0' $'1'
|
||
|
testprintfintstar $'%0*o' $'1' $'1'
|
||
|
testprintfintstar $'%0*o' $'20' $'1'
|
||
|
testprintfintstar $'%0*o' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*o' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*o' $'20' $'2147483647'
|
||
|
testprintfintstar $'%.*o' $'0' $'0'
|
||
|
testprintfintstar $'%.*o' $'1' $'0'
|
||
|
testprintfintstar $'%.*o' $'20' $'0'
|
||
|
testprintfintstar $'%.*o' $'0' $'1'
|
||
|
testprintfintstar $'%.*o' $'1' $'1'
|
||
|
testprintfintstar $'%.*o' $'20' $'1'
|
||
|
testprintfintstar $'%.*o' $'0' $'2147483647'
|
||
|
testprintfintstar $'%.*o' $'1' $'2147483647'
|
||
|
testprintfintstar $'%.*o' $'20' $'2147483647'
|
||
|
testprintfintstar $'%*b' $'0' $'0'
|
||
|
testprintfintstar $'%*b' $'1' $'0'
|
||
|
testprintfintstar $'%*b' $'20' $'0'
|
||
|
testprintfintstar $'%*b' $'0' $'1'
|
||
|
testprintfintstar $'%*b' $'1' $'1'
|
||
|
testprintfintstar $'%*b' $'20' $'1'
|
||
|
testprintfintstar $'%*b' $'0' $'2147483647'
|
||
|
testprintfintstar $'%*b' $'1' $'2147483647'
|
||
|
testprintfintstar $'%*b' $'20' $'2147483647'
|
||
|
testprintfintstar $'%-*b' $'0' $'0'
|
||
|
testprintfintstar $'%-*b' $'1' $'0'
|
||
|
testprintfintstar $'%-*b' $'20' $'0'
|
||
|
testprintfintstar $'%-*b' $'0' $'1'
|
||
|
testprintfintstar $'%-*b' $'1' $'1'
|
||
|
testprintfintstar $'%-*b' $'20' $'1'
|
||
|
testprintfintstar $'%-*b' $'0' $'2147483647'
|
||
|
testprintfintstar $'%-*b' $'1' $'2147483647'
|
||
|
testprintfintstar $'%-*b' $'20' $'2147483647'
|
||
|
testprintfintstar $'%0*b' $'0' $'0'
|
||
|
testprintfintstar $'%0*b' $'1' $'0'
|
||
|
testprintfintstar $'%0*b' $'20' $'0'
|
||
|
testprintfintstar $'%0*b' $'0' $'1'
|
||
|
testprintfintstar $'%0*b' $'1' $'1'
|
||
|
testprintfintstar $'%0*b' $'20' $'1'
|
||
|
testprintfintstar $'%0*b' $'0' $'2147483647'
|
||
|
testprintfintstar $'%0*b' $'1' $'2147483647'
|
||
|
testprintfintstar $'%0*b' $'20' $'2147483647'
|
||
|
testprintfintstar $'%.*b' $'0' $'0'
|
||
|
testprintfintstar $'%.*b' $'1' $'0'
|
||
|
testprintfintstar $'%.*b' $'20' $'0'
|
||
|
testprintfintstar $'%.*b' $'0' $'1'
|
||
|
testprintfintstar $'%.*b' $'1' $'1'
|
||
|
testprintfintstar $'%.*b' $'20' $'1'
|
||
|
testprintfintstar $'%.*b' $'0' $'2147483647'
|
||
|
testprintfintstar $'%.*b' $'1' $'2147483647'
|
||
|
testprintfintstar $'%.*b' $'20' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Flag Combinations
|
||
|
printf "\e[1;36mTesting Extra Flag Combinations \e[0;00m"
|
||
|
testprintffloat $'%1.a' $'0'
|
||
|
testprintffloat $'%5.a' $'0'
|
||
|
testprintffloat $'%10.a' $'0'
|
||
|
testprintffloatstar $'%1.*a' $'0' $'0'
|
||
|
testprintffloatstar $'%5.*a' $'0' $'0'
|
||
|
testprintffloatstar $'%10.*a' $'0' $'0'
|
||
|
testprintffloatstar $'%*.a' $'0' $'0'
|
||
|
testprintffloatstar $'%*.1a' $'0' $'0'
|
||
|
testprintffloatstar $'%*.5a' $'0' $'0'
|
||
|
testprintffloatstar $'%*.10a' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.a' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.1a' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.5a' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.10a' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.a' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.1a' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.5a' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.10a' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.a' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.1a' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.5a' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.10a' $'0' $'0'
|
||
|
testprintffloatstar $'% *.a' $'0' $'0'
|
||
|
testprintffloatstar $'% *.1a' $'0' $'0'
|
||
|
testprintffloatstar $'% *.5a' $'0' $'0'
|
||
|
testprintffloatstar $'% *.10a' $'0' $'0'
|
||
|
testprintffloatstar $'%1.*a' $'1' $'0'
|
||
|
testprintffloatstar $'%5.*a' $'1' $'0'
|
||
|
testprintffloatstar $'%10.*a' $'1' $'0'
|
||
|
testprintffloatstar $'%*.a' $'1' $'0'
|
||
|
testprintffloatstar $'%*.1a' $'1' $'0'
|
||
|
testprintffloatstar $'%*.5a' $'1' $'0'
|
||
|
testprintffloatstar $'%*.10a' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.a' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.1a' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.5a' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.10a' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.a' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.1a' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.5a' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.10a' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.a' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.1a' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.5a' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.10a' $'1' $'0'
|
||
|
testprintffloatstar $'% *.a' $'1' $'0'
|
||
|
testprintffloatstar $'% *.1a' $'1' $'0'
|
||
|
testprintffloatstar $'% *.5a' $'1' $'0'
|
||
|
testprintffloatstar $'% *.10a' $'1' $'0'
|
||
|
testprintffloatstar $'%1.*a' $'10' $'0'
|
||
|
testprintffloatstar $'%5.*a' $'10' $'0'
|
||
|
testprintffloatstar $'%10.*a' $'10' $'0'
|
||
|
testprintffloatstar $'%*.a' $'10' $'0'
|
||
|
testprintffloatstar $'%*.1a' $'10' $'0'
|
||
|
testprintffloatstar $'%*.5a' $'10' $'0'
|
||
|
testprintffloatstar $'%*.10a' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.a' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.1a' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.5a' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.10a' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.a' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.1a' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.5a' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.10a' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.a' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.1a' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.5a' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.10a' $'10' $'0'
|
||
|
testprintffloatstar $'% *.a' $'10' $'0'
|
||
|
testprintffloatstar $'% *.1a' $'10' $'0'
|
||
|
testprintffloatstar $'% *.5a' $'10' $'0'
|
||
|
testprintffloatstar $'% *.10a' $'10' $'0'
|
||
|
testprintffloatstar $'%1.*a' $'20' $'0'
|
||
|
testprintffloatstar $'%5.*a' $'20' $'0'
|
||
|
testprintffloatstar $'%10.*a' $'20' $'0'
|
||
|
testprintffloatstar $'%*.a' $'20' $'0'
|
||
|
testprintffloatstar $'%*.1a' $'20' $'0'
|
||
|
testprintffloatstar $'%*.5a' $'20' $'0'
|
||
|
testprintffloatstar $'%*.10a' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.a' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.1a' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.5a' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.10a' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.a' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.1a' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.5a' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.10a' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.a' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.1a' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.5a' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.10a' $'20' $'0'
|
||
|
testprintffloatstar $'% *.a' $'20' $'0'
|
||
|
testprintffloatstar $'% *.1a' $'20' $'0'
|
||
|
testprintffloatstar $'% *.5a' $'20' $'0'
|
||
|
testprintffloatstar $'% *.10a' $'20' $'0'
|
||
|
testprintffloat $'%1.a' $'1'
|
||
|
testprintffloat $'%5.a' $'1'
|
||
|
testprintffloat $'%10.a' $'1'
|
||
|
testprintffloatstar $'%1.*a' $'0' $'1'
|
||
|
testprintffloatstar $'%5.*a' $'0' $'1'
|
||
|
testprintffloatstar $'%10.*a' $'0' $'1'
|
||
|
testprintffloatstar $'%*.a' $'0' $'1'
|
||
|
testprintffloatstar $'%*.1a' $'0' $'1'
|
||
|
testprintffloatstar $'%*.5a' $'0' $'1'
|
||
|
testprintffloatstar $'%*.10a' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.a' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.1a' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.5a' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.10a' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.a' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.1a' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.5a' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.10a' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.a' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.1a' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.5a' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.10a' $'0' $'1'
|
||
|
testprintffloatstar $'% *.a' $'0' $'1'
|
||
|
testprintffloatstar $'% *.1a' $'0' $'1'
|
||
|
testprintffloatstar $'% *.5a' $'0' $'1'
|
||
|
testprintffloatstar $'% *.10a' $'0' $'1'
|
||
|
testprintffloatstar $'%1.*a' $'1' $'1'
|
||
|
testprintffloatstar $'%5.*a' $'1' $'1'
|
||
|
testprintffloatstar $'%10.*a' $'1' $'1'
|
||
|
testprintffloatstar $'%*.a' $'1' $'1'
|
||
|
testprintffloatstar $'%*.1a' $'1' $'1'
|
||
|
testprintffloatstar $'%*.5a' $'1' $'1'
|
||
|
testprintffloatstar $'%*.10a' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.a' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.1a' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.5a' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.10a' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.a' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.1a' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.5a' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.10a' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.a' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.1a' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.5a' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.10a' $'1' $'1'
|
||
|
testprintffloatstar $'% *.a' $'1' $'1'
|
||
|
testprintffloatstar $'% *.1a' $'1' $'1'
|
||
|
testprintffloatstar $'% *.5a' $'1' $'1'
|
||
|
testprintffloatstar $'% *.10a' $'1' $'1'
|
||
|
testprintffloatstar $'%1.*a' $'10' $'1'
|
||
|
testprintffloatstar $'%5.*a' $'10' $'1'
|
||
|
testprintffloatstar $'%10.*a' $'10' $'1'
|
||
|
testprintffloatstar $'%*.a' $'10' $'1'
|
||
|
testprintffloatstar $'%*.1a' $'10' $'1'
|
||
|
testprintffloatstar $'%*.5a' $'10' $'1'
|
||
|
testprintffloatstar $'%*.10a' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.a' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.1a' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.5a' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.10a' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.a' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.1a' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.5a' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.10a' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.a' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.1a' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.5a' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.10a' $'10' $'1'
|
||
|
testprintffloatstar $'% *.a' $'10' $'1'
|
||
|
testprintffloatstar $'% *.1a' $'10' $'1'
|
||
|
testprintffloatstar $'% *.5a' $'10' $'1'
|
||
|
testprintffloatstar $'% *.10a' $'10' $'1'
|
||
|
testprintffloatstar $'%1.*a' $'20' $'1'
|
||
|
testprintffloatstar $'%5.*a' $'20' $'1'
|
||
|
testprintffloatstar $'%10.*a' $'20' $'1'
|
||
|
testprintffloatstar $'%*.a' $'20' $'1'
|
||
|
testprintffloatstar $'%*.1a' $'20' $'1'
|
||
|
testprintffloatstar $'%*.5a' $'20' $'1'
|
||
|
testprintffloatstar $'%*.10a' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.a' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.1a' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.5a' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.10a' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.a' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.1a' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.5a' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.10a' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.a' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.1a' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.5a' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.10a' $'20' $'1'
|
||
|
testprintffloatstar $'% *.a' $'20' $'1'
|
||
|
testprintffloatstar $'% *.1a' $'20' $'1'
|
||
|
testprintffloatstar $'% *.5a' $'20' $'1'
|
||
|
testprintffloatstar $'% *.10a' $'20' $'1'
|
||
|
testprintffloat $'%1.a' $'1.12345'
|
||
|
testprintffloat $'%5.a' $'1.12345'
|
||
|
testprintffloat $'%10.a' $'1.12345'
|
||
|
testprintffloatstar $'%1.*a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%5.*a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%10.*a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.1a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.5a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.10a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.1a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.5a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.10a' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%1.*a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%5.*a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%10.*a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.1a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.5a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.10a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.1a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.5a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.10a' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%1.*a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%5.*a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%10.*a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.1a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.5a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.10a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.1a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.5a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.10a' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%1.*a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%5.*a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%10.*a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.1a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.5a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.10a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.1a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.5a' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.10a' $'20' $'1.12345'
|
||
|
testprintffloat $'%1.a' $'-1'
|
||
|
testprintffloat $'%5.a' $'-1'
|
||
|
testprintffloat $'%10.a' $'-1'
|
||
|
testprintffloatstar $'%1.*a' $'0' $'-1'
|
||
|
testprintffloatstar $'%5.*a' $'0' $'-1'
|
||
|
testprintffloatstar $'%10.*a' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.a' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.1a' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.5a' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.10a' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.a' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.1a' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.5a' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.10a' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.a' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.1a' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.5a' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.10a' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.a' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.1a' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.5a' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.10a' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.a' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.1a' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.5a' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.10a' $'0' $'-1'
|
||
|
testprintffloatstar $'%1.*a' $'1' $'-1'
|
||
|
testprintffloatstar $'%5.*a' $'1' $'-1'
|
||
|
testprintffloatstar $'%10.*a' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.a' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.1a' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.5a' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.10a' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.a' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.1a' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.5a' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.10a' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.a' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.1a' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.5a' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.10a' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.a' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.1a' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.5a' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.10a' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.a' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.1a' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.5a' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.10a' $'1' $'-1'
|
||
|
testprintffloatstar $'%1.*a' $'10' $'-1'
|
||
|
testprintffloatstar $'%5.*a' $'10' $'-1'
|
||
|
testprintffloatstar $'%10.*a' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.a' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.1a' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.5a' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.10a' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.a' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.1a' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.5a' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.10a' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.a' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.1a' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.5a' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.10a' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.a' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.1a' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.5a' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.10a' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.a' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.1a' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.5a' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.10a' $'10' $'-1'
|
||
|
testprintffloatstar $'%1.*a' $'20' $'-1'
|
||
|
testprintffloatstar $'%5.*a' $'20' $'-1'
|
||
|
testprintffloatstar $'%10.*a' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.a' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.1a' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.5a' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.10a' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.a' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.1a' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.5a' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.10a' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.a' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.1a' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.5a' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.10a' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.a' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.1a' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.5a' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.10a' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.a' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.1a' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.5a' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.10a' $'20' $'-1'
|
||
|
testprintffloat $'%1.a' $'-1.12345'
|
||
|
testprintffloat $'%5.a' $'-1.12345'
|
||
|
testprintffloat $'%10.a' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10a' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10a' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10a' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5a' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10a' $'20' $'-1.12345'
|
||
|
testprintffloat $'%1.A' $'0'
|
||
|
testprintffloat $'%5.A' $'0'
|
||
|
testprintffloat $'%10.A' $'0'
|
||
|
testprintffloatstar $'%1.*A' $'0' $'0'
|
||
|
testprintffloatstar $'%5.*A' $'0' $'0'
|
||
|
testprintffloatstar $'%10.*A' $'0' $'0'
|
||
|
testprintffloatstar $'%*.A' $'0' $'0'
|
||
|
testprintffloatstar $'%*.1A' $'0' $'0'
|
||
|
testprintffloatstar $'%*.5A' $'0' $'0'
|
||
|
testprintffloatstar $'%*.10A' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.A' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.1A' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.5A' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.10A' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.A' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.1A' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.5A' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.10A' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.A' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.1A' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.5A' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.10A' $'0' $'0'
|
||
|
testprintffloatstar $'% *.A' $'0' $'0'
|
||
|
testprintffloatstar $'% *.1A' $'0' $'0'
|
||
|
testprintffloatstar $'% *.5A' $'0' $'0'
|
||
|
testprintffloatstar $'% *.10A' $'0' $'0'
|
||
|
testprintffloatstar $'%1.*A' $'1' $'0'
|
||
|
testprintffloatstar $'%5.*A' $'1' $'0'
|
||
|
testprintffloatstar $'%10.*A' $'1' $'0'
|
||
|
testprintffloatstar $'%*.A' $'1' $'0'
|
||
|
testprintffloatstar $'%*.1A' $'1' $'0'
|
||
|
testprintffloatstar $'%*.5A' $'1' $'0'
|
||
|
testprintffloatstar $'%*.10A' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.A' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.1A' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.5A' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.10A' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.A' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.1A' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.5A' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.10A' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.A' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.1A' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.5A' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.10A' $'1' $'0'
|
||
|
testprintffloatstar $'% *.A' $'1' $'0'
|
||
|
testprintffloatstar $'% *.1A' $'1' $'0'
|
||
|
testprintffloatstar $'% *.5A' $'1' $'0'
|
||
|
testprintffloatstar $'% *.10A' $'1' $'0'
|
||
|
testprintffloatstar $'%1.*A' $'10' $'0'
|
||
|
testprintffloatstar $'%5.*A' $'10' $'0'
|
||
|
testprintffloatstar $'%10.*A' $'10' $'0'
|
||
|
testprintffloatstar $'%*.A' $'10' $'0'
|
||
|
testprintffloatstar $'%*.1A' $'10' $'0'
|
||
|
testprintffloatstar $'%*.5A' $'10' $'0'
|
||
|
testprintffloatstar $'%*.10A' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.A' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.1A' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.5A' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.10A' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.A' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.1A' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.5A' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.10A' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.A' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.1A' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.5A' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.10A' $'10' $'0'
|
||
|
testprintffloatstar $'% *.A' $'10' $'0'
|
||
|
testprintffloatstar $'% *.1A' $'10' $'0'
|
||
|
testprintffloatstar $'% *.5A' $'10' $'0'
|
||
|
testprintffloatstar $'% *.10A' $'10' $'0'
|
||
|
testprintffloatstar $'%1.*A' $'20' $'0'
|
||
|
testprintffloatstar $'%5.*A' $'20' $'0'
|
||
|
testprintffloatstar $'%10.*A' $'20' $'0'
|
||
|
testprintffloatstar $'%*.A' $'20' $'0'
|
||
|
testprintffloatstar $'%*.1A' $'20' $'0'
|
||
|
testprintffloatstar $'%*.5A' $'20' $'0'
|
||
|
testprintffloatstar $'%*.10A' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.A' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.1A' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.5A' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.10A' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.A' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.1A' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.5A' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.10A' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.A' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.1A' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.5A' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.10A' $'20' $'0'
|
||
|
testprintffloatstar $'% *.A' $'20' $'0'
|
||
|
testprintffloatstar $'% *.1A' $'20' $'0'
|
||
|
testprintffloatstar $'% *.5A' $'20' $'0'
|
||
|
testprintffloatstar $'% *.10A' $'20' $'0'
|
||
|
testprintffloat $'%1.A' $'1'
|
||
|
testprintffloat $'%5.A' $'1'
|
||
|
testprintffloat $'%10.A' $'1'
|
||
|
testprintffloatstar $'%1.*A' $'0' $'1'
|
||
|
testprintffloatstar $'%5.*A' $'0' $'1'
|
||
|
testprintffloatstar $'%10.*A' $'0' $'1'
|
||
|
testprintffloatstar $'%*.A' $'0' $'1'
|
||
|
testprintffloatstar $'%*.1A' $'0' $'1'
|
||
|
testprintffloatstar $'%*.5A' $'0' $'1'
|
||
|
testprintffloatstar $'%*.10A' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.A' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.1A' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.5A' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.10A' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.A' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.1A' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.5A' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.10A' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.A' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.1A' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.5A' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.10A' $'0' $'1'
|
||
|
testprintffloatstar $'% *.A' $'0' $'1'
|
||
|
testprintffloatstar $'% *.1A' $'0' $'1'
|
||
|
testprintffloatstar $'% *.5A' $'0' $'1'
|
||
|
testprintffloatstar $'% *.10A' $'0' $'1'
|
||
|
testprintffloatstar $'%1.*A' $'1' $'1'
|
||
|
testprintffloatstar $'%5.*A' $'1' $'1'
|
||
|
testprintffloatstar $'%10.*A' $'1' $'1'
|
||
|
testprintffloatstar $'%*.A' $'1' $'1'
|
||
|
testprintffloatstar $'%*.1A' $'1' $'1'
|
||
|
testprintffloatstar $'%*.5A' $'1' $'1'
|
||
|
testprintffloatstar $'%*.10A' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.A' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.1A' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.5A' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.10A' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.A' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.1A' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.5A' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.10A' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.A' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.1A' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.5A' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.10A' $'1' $'1'
|
||
|
testprintffloatstar $'% *.A' $'1' $'1'
|
||
|
testprintffloatstar $'% *.1A' $'1' $'1'
|
||
|
testprintffloatstar $'% *.5A' $'1' $'1'
|
||
|
testprintffloatstar $'% *.10A' $'1' $'1'
|
||
|
testprintffloatstar $'%1.*A' $'10' $'1'
|
||
|
testprintffloatstar $'%5.*A' $'10' $'1'
|
||
|
testprintffloatstar $'%10.*A' $'10' $'1'
|
||
|
testprintffloatstar $'%*.A' $'10' $'1'
|
||
|
testprintffloatstar $'%*.1A' $'10' $'1'
|
||
|
testprintffloatstar $'%*.5A' $'10' $'1'
|
||
|
testprintffloatstar $'%*.10A' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.A' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.1A' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.5A' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.10A' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.A' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.1A' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.5A' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.10A' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.A' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.1A' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.5A' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.10A' $'10' $'1'
|
||
|
testprintffloatstar $'% *.A' $'10' $'1'
|
||
|
testprintffloatstar $'% *.1A' $'10' $'1'
|
||
|
testprintffloatstar $'% *.5A' $'10' $'1'
|
||
|
testprintffloatstar $'% *.10A' $'10' $'1'
|
||
|
testprintffloatstar $'%1.*A' $'20' $'1'
|
||
|
testprintffloatstar $'%5.*A' $'20' $'1'
|
||
|
testprintffloatstar $'%10.*A' $'20' $'1'
|
||
|
testprintffloatstar $'%*.A' $'20' $'1'
|
||
|
testprintffloatstar $'%*.1A' $'20' $'1'
|
||
|
testprintffloatstar $'%*.5A' $'20' $'1'
|
||
|
testprintffloatstar $'%*.10A' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.A' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.1A' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.5A' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.10A' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.A' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.1A' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.5A' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.10A' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.A' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.1A' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.5A' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.10A' $'20' $'1'
|
||
|
testprintffloatstar $'% *.A' $'20' $'1'
|
||
|
testprintffloatstar $'% *.1A' $'20' $'1'
|
||
|
testprintffloatstar $'% *.5A' $'20' $'1'
|
||
|
testprintffloatstar $'% *.10A' $'20' $'1'
|
||
|
testprintffloat $'%1.A' $'1.12345'
|
||
|
testprintffloat $'%5.A' $'1.12345'
|
||
|
testprintffloat $'%10.A' $'1.12345'
|
||
|
testprintffloatstar $'%1.*A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%5.*A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%10.*A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.1A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.5A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.10A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.1A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.5A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.10A' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%1.*A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%5.*A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%10.*A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.1A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.5A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.10A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.1A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.5A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.10A' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%1.*A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%5.*A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%10.*A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.1A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.5A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.10A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.1A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.5A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.10A' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%1.*A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%5.*A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%10.*A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.1A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.5A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.10A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.1A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.5A' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.10A' $'20' $'1.12345'
|
||
|
testprintffloat $'%1.A' $'-1'
|
||
|
testprintffloat $'%5.A' $'-1'
|
||
|
testprintffloat $'%10.A' $'-1'
|
||
|
testprintffloatstar $'%1.*A' $'0' $'-1'
|
||
|
testprintffloatstar $'%5.*A' $'0' $'-1'
|
||
|
testprintffloatstar $'%10.*A' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.A' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.1A' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.5A' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.10A' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.A' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.1A' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.5A' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.10A' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.A' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.1A' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.5A' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.10A' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.A' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.1A' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.5A' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.10A' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.A' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.1A' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.5A' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.10A' $'0' $'-1'
|
||
|
testprintffloatstar $'%1.*A' $'1' $'-1'
|
||
|
testprintffloatstar $'%5.*A' $'1' $'-1'
|
||
|
testprintffloatstar $'%10.*A' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.A' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.1A' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.5A' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.10A' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.A' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.1A' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.5A' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.10A' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.A' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.1A' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.5A' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.10A' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.A' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.1A' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.5A' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.10A' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.A' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.1A' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.5A' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.10A' $'1' $'-1'
|
||
|
testprintffloatstar $'%1.*A' $'10' $'-1'
|
||
|
testprintffloatstar $'%5.*A' $'10' $'-1'
|
||
|
testprintffloatstar $'%10.*A' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.A' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.1A' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.5A' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.10A' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.A' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.1A' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.5A' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.10A' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.A' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.1A' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.5A' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.10A' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.A' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.1A' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.5A' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.10A' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.A' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.1A' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.5A' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.10A' $'10' $'-1'
|
||
|
testprintffloatstar $'%1.*A' $'20' $'-1'
|
||
|
testprintffloatstar $'%5.*A' $'20' $'-1'
|
||
|
testprintffloatstar $'%10.*A' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.A' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.1A' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.5A' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.10A' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.A' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.1A' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.5A' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.10A' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.A' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.1A' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.5A' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.10A' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.A' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.1A' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.5A' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.10A' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.A' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.1A' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.5A' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.10A' $'20' $'-1'
|
||
|
testprintffloat $'%1.A' $'-1.12345'
|
||
|
testprintffloat $'%5.A' $'-1.12345'
|
||
|
testprintffloat $'%10.A' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10A' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10A' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10A' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5A' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10A' $'20' $'-1.12345'
|
||
|
testprintffloat $'%1.E' $'0'
|
||
|
testprintffloat $'%5.E' $'0'
|
||
|
testprintffloat $'%10.E' $'0'
|
||
|
testprintffloatstar $'%1.*E' $'0' $'0'
|
||
|
testprintffloatstar $'%5.*E' $'0' $'0'
|
||
|
testprintffloatstar $'%10.*E' $'0' $'0'
|
||
|
testprintffloatstar $'%*.E' $'0' $'0'
|
||
|
testprintffloatstar $'%*.1E' $'0' $'0'
|
||
|
testprintffloatstar $'%*.5E' $'0' $'0'
|
||
|
testprintffloatstar $'%*.10E' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.E' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.1E' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.5E' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.10E' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.E' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.1E' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.5E' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.10E' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.E' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.1E' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.5E' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.10E' $'0' $'0'
|
||
|
testprintffloatstar $'% *.E' $'0' $'0'
|
||
|
testprintffloatstar $'% *.1E' $'0' $'0'
|
||
|
testprintffloatstar $'% *.5E' $'0' $'0'
|
||
|
testprintffloatstar $'% *.10E' $'0' $'0'
|
||
|
testprintffloatstar $'%1.*E' $'1' $'0'
|
||
|
testprintffloatstar $'%5.*E' $'1' $'0'
|
||
|
testprintffloatstar $'%10.*E' $'1' $'0'
|
||
|
testprintffloatstar $'%*.E' $'1' $'0'
|
||
|
testprintffloatstar $'%*.1E' $'1' $'0'
|
||
|
testprintffloatstar $'%*.5E' $'1' $'0'
|
||
|
testprintffloatstar $'%*.10E' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.E' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.1E' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.5E' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.10E' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.E' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.1E' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.5E' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.10E' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.E' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.1E' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.5E' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.10E' $'1' $'0'
|
||
|
testprintffloatstar $'% *.E' $'1' $'0'
|
||
|
testprintffloatstar $'% *.1E' $'1' $'0'
|
||
|
testprintffloatstar $'% *.5E' $'1' $'0'
|
||
|
testprintffloatstar $'% *.10E' $'1' $'0'
|
||
|
testprintffloatstar $'%1.*E' $'10' $'0'
|
||
|
testprintffloatstar $'%5.*E' $'10' $'0'
|
||
|
testprintffloatstar $'%10.*E' $'10' $'0'
|
||
|
testprintffloatstar $'%*.E' $'10' $'0'
|
||
|
testprintffloatstar $'%*.1E' $'10' $'0'
|
||
|
testprintffloatstar $'%*.5E' $'10' $'0'
|
||
|
testprintffloatstar $'%*.10E' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.E' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.1E' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.5E' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.10E' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.E' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.1E' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.5E' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.10E' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.E' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.1E' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.5E' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.10E' $'10' $'0'
|
||
|
testprintffloatstar $'% *.E' $'10' $'0'
|
||
|
testprintffloatstar $'% *.1E' $'10' $'0'
|
||
|
testprintffloatstar $'% *.5E' $'10' $'0'
|
||
|
testprintffloatstar $'% *.10E' $'10' $'0'
|
||
|
testprintffloatstar $'%1.*E' $'20' $'0'
|
||
|
testprintffloatstar $'%5.*E' $'20' $'0'
|
||
|
testprintffloatstar $'%10.*E' $'20' $'0'
|
||
|
testprintffloatstar $'%*.E' $'20' $'0'
|
||
|
testprintffloatstar $'%*.1E' $'20' $'0'
|
||
|
testprintffloatstar $'%*.5E' $'20' $'0'
|
||
|
testprintffloatstar $'%*.10E' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.E' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.1E' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.5E' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.10E' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.E' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.1E' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.5E' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.10E' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.E' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.1E' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.5E' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.10E' $'20' $'0'
|
||
|
testprintffloatstar $'% *.E' $'20' $'0'
|
||
|
testprintffloatstar $'% *.1E' $'20' $'0'
|
||
|
testprintffloatstar $'% *.5E' $'20' $'0'
|
||
|
testprintffloatstar $'% *.10E' $'20' $'0'
|
||
|
testprintffloat $'%1.E' $'1'
|
||
|
testprintffloat $'%5.E' $'1'
|
||
|
testprintffloat $'%10.E' $'1'
|
||
|
testprintffloatstar $'%1.*E' $'0' $'1'
|
||
|
testprintffloatstar $'%5.*E' $'0' $'1'
|
||
|
testprintffloatstar $'%10.*E' $'0' $'1'
|
||
|
testprintffloatstar $'%*.E' $'0' $'1'
|
||
|
testprintffloatstar $'%*.1E' $'0' $'1'
|
||
|
testprintffloatstar $'%*.5E' $'0' $'1'
|
||
|
testprintffloatstar $'%*.10E' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.E' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.1E' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.5E' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.10E' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.E' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.1E' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.5E' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.10E' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.E' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.1E' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.5E' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.10E' $'0' $'1'
|
||
|
testprintffloatstar $'% *.E' $'0' $'1'
|
||
|
testprintffloatstar $'% *.1E' $'0' $'1'
|
||
|
testprintffloatstar $'% *.5E' $'0' $'1'
|
||
|
testprintffloatstar $'% *.10E' $'0' $'1'
|
||
|
testprintffloatstar $'%1.*E' $'1' $'1'
|
||
|
testprintffloatstar $'%5.*E' $'1' $'1'
|
||
|
testprintffloatstar $'%10.*E' $'1' $'1'
|
||
|
testprintffloatstar $'%*.E' $'1' $'1'
|
||
|
testprintffloatstar $'%*.1E' $'1' $'1'
|
||
|
testprintffloatstar $'%*.5E' $'1' $'1'
|
||
|
testprintffloatstar $'%*.10E' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.E' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.1E' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.5E' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.10E' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.E' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.1E' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.5E' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.10E' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.E' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.1E' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.5E' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.10E' $'1' $'1'
|
||
|
testprintffloatstar $'% *.E' $'1' $'1'
|
||
|
testprintffloatstar $'% *.1E' $'1' $'1'
|
||
|
testprintffloatstar $'% *.5E' $'1' $'1'
|
||
|
testprintffloatstar $'% *.10E' $'1' $'1'
|
||
|
testprintffloatstar $'%1.*E' $'10' $'1'
|
||
|
testprintffloatstar $'%5.*E' $'10' $'1'
|
||
|
testprintffloatstar $'%10.*E' $'10' $'1'
|
||
|
testprintffloatstar $'%*.E' $'10' $'1'
|
||
|
testprintffloatstar $'%*.1E' $'10' $'1'
|
||
|
testprintffloatstar $'%*.5E' $'10' $'1'
|
||
|
testprintffloatstar $'%*.10E' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.E' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.1E' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.5E' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.10E' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.E' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.1E' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.5E' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.10E' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.E' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.1E' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.5E' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.10E' $'10' $'1'
|
||
|
testprintffloatstar $'% *.E' $'10' $'1'
|
||
|
testprintffloatstar $'% *.1E' $'10' $'1'
|
||
|
testprintffloatstar $'% *.5E' $'10' $'1'
|
||
|
testprintffloatstar $'% *.10E' $'10' $'1'
|
||
|
testprintffloatstar $'%1.*E' $'20' $'1'
|
||
|
testprintffloatstar $'%5.*E' $'20' $'1'
|
||
|
testprintffloatstar $'%10.*E' $'20' $'1'
|
||
|
testprintffloatstar $'%*.E' $'20' $'1'
|
||
|
testprintffloatstar $'%*.1E' $'20' $'1'
|
||
|
testprintffloatstar $'%*.5E' $'20' $'1'
|
||
|
testprintffloatstar $'%*.10E' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.E' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.1E' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.5E' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.10E' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.E' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.1E' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.5E' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.10E' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.E' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.1E' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.5E' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.10E' $'20' $'1'
|
||
|
testprintffloatstar $'% *.E' $'20' $'1'
|
||
|
testprintffloatstar $'% *.1E' $'20' $'1'
|
||
|
testprintffloatstar $'% *.5E' $'20' $'1'
|
||
|
testprintffloatstar $'% *.10E' $'20' $'1'
|
||
|
testprintffloat $'%1.E' $'1.12345'
|
||
|
testprintffloat $'%5.E' $'1.12345'
|
||
|
testprintffloat $'%10.E' $'1.12345'
|
||
|
testprintffloatstar $'%1.*E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%5.*E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%10.*E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.1E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.5E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.10E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.1E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.5E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.10E' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%1.*E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%5.*E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%10.*E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.1E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.5E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.10E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.1E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.5E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.10E' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%1.*E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%5.*E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%10.*E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.1E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.5E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.10E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.1E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.5E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.10E' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%1.*E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%5.*E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%10.*E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.1E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.5E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.10E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.1E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.5E' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.10E' $'20' $'1.12345'
|
||
|
testprintffloat $'%1.E' $'-1'
|
||
|
testprintffloat $'%5.E' $'-1'
|
||
|
testprintffloat $'%10.E' $'-1'
|
||
|
testprintffloatstar $'%1.*E' $'0' $'-1'
|
||
|
testprintffloatstar $'%5.*E' $'0' $'-1'
|
||
|
testprintffloatstar $'%10.*E' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.E' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.1E' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.5E' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.10E' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.E' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.1E' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.5E' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.10E' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.E' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.1E' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.5E' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.10E' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.E' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.1E' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.5E' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.10E' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.E' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.1E' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.5E' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.10E' $'0' $'-1'
|
||
|
testprintffloatstar $'%1.*E' $'1' $'-1'
|
||
|
testprintffloatstar $'%5.*E' $'1' $'-1'
|
||
|
testprintffloatstar $'%10.*E' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.E' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.1E' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.5E' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.10E' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.E' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.1E' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.5E' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.10E' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.E' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.1E' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.5E' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.10E' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.E' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.1E' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.5E' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.10E' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.E' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.1E' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.5E' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.10E' $'1' $'-1'
|
||
|
testprintffloatstar $'%1.*E' $'10' $'-1'
|
||
|
testprintffloatstar $'%5.*E' $'10' $'-1'
|
||
|
testprintffloatstar $'%10.*E' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.E' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.1E' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.5E' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.10E' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.E' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.1E' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.5E' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.10E' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.E' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.1E' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.5E' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.10E' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.E' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.1E' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.5E' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.10E' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.E' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.1E' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.5E' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.10E' $'10' $'-1'
|
||
|
testprintffloatstar $'%1.*E' $'20' $'-1'
|
||
|
testprintffloatstar $'%5.*E' $'20' $'-1'
|
||
|
testprintffloatstar $'%10.*E' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.E' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.1E' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.5E' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.10E' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.E' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.1E' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.5E' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.10E' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.E' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.1E' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.5E' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.10E' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.E' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.1E' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.5E' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.10E' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.E' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.1E' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.5E' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.10E' $'20' $'-1'
|
||
|
testprintffloat $'%1.E' $'-1.12345'
|
||
|
testprintffloat $'%5.E' $'-1.12345'
|
||
|
testprintffloat $'%10.E' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10E' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10E' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10E' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5E' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10E' $'20' $'-1.12345'
|
||
|
testprintffloat $'%1.F' $'0'
|
||
|
testprintffloat $'%5.F' $'0'
|
||
|
testprintffloat $'%10.F' $'0'
|
||
|
testprintffloatstar $'%1.*F' $'0' $'0'
|
||
|
testprintffloatstar $'%5.*F' $'0' $'0'
|
||
|
testprintffloatstar $'%10.*F' $'0' $'0'
|
||
|
testprintffloatstar $'%*.F' $'0' $'0'
|
||
|
testprintffloatstar $'%*.1F' $'0' $'0'
|
||
|
testprintffloatstar $'%*.5F' $'0' $'0'
|
||
|
testprintffloatstar $'%*.10F' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.F' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.1F' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.5F' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.10F' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.F' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.1F' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.5F' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.10F' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.F' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.1F' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.5F' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.10F' $'0' $'0'
|
||
|
testprintffloatstar $'% *.F' $'0' $'0'
|
||
|
testprintffloatstar $'% *.1F' $'0' $'0'
|
||
|
testprintffloatstar $'% *.5F' $'0' $'0'
|
||
|
testprintffloatstar $'% *.10F' $'0' $'0'
|
||
|
testprintffloatstar $'%1.*F' $'1' $'0'
|
||
|
testprintffloatstar $'%5.*F' $'1' $'0'
|
||
|
testprintffloatstar $'%10.*F' $'1' $'0'
|
||
|
testprintffloatstar $'%*.F' $'1' $'0'
|
||
|
testprintffloatstar $'%*.1F' $'1' $'0'
|
||
|
testprintffloatstar $'%*.5F' $'1' $'0'
|
||
|
testprintffloatstar $'%*.10F' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.F' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.1F' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.5F' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.10F' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.F' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.1F' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.5F' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.10F' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.F' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.1F' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.5F' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.10F' $'1' $'0'
|
||
|
testprintffloatstar $'% *.F' $'1' $'0'
|
||
|
testprintffloatstar $'% *.1F' $'1' $'0'
|
||
|
testprintffloatstar $'% *.5F' $'1' $'0'
|
||
|
testprintffloatstar $'% *.10F' $'1' $'0'
|
||
|
testprintffloatstar $'%1.*F' $'10' $'0'
|
||
|
testprintffloatstar $'%5.*F' $'10' $'0'
|
||
|
testprintffloatstar $'%10.*F' $'10' $'0'
|
||
|
testprintffloatstar $'%*.F' $'10' $'0'
|
||
|
testprintffloatstar $'%*.1F' $'10' $'0'
|
||
|
testprintffloatstar $'%*.5F' $'10' $'0'
|
||
|
testprintffloatstar $'%*.10F' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.F' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.1F' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.5F' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.10F' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.F' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.1F' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.5F' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.10F' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.F' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.1F' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.5F' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.10F' $'10' $'0'
|
||
|
testprintffloatstar $'% *.F' $'10' $'0'
|
||
|
testprintffloatstar $'% *.1F' $'10' $'0'
|
||
|
testprintffloatstar $'% *.5F' $'10' $'0'
|
||
|
testprintffloatstar $'% *.10F' $'10' $'0'
|
||
|
testprintffloatstar $'%1.*F' $'20' $'0'
|
||
|
testprintffloatstar $'%5.*F' $'20' $'0'
|
||
|
testprintffloatstar $'%10.*F' $'20' $'0'
|
||
|
testprintffloatstar $'%*.F' $'20' $'0'
|
||
|
testprintffloatstar $'%*.1F' $'20' $'0'
|
||
|
testprintffloatstar $'%*.5F' $'20' $'0'
|
||
|
testprintffloatstar $'%*.10F' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.F' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.1F' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.5F' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.10F' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.F' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.1F' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.5F' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.10F' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.F' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.1F' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.5F' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.10F' $'20' $'0'
|
||
|
testprintffloatstar $'% *.F' $'20' $'0'
|
||
|
testprintffloatstar $'% *.1F' $'20' $'0'
|
||
|
testprintffloatstar $'% *.5F' $'20' $'0'
|
||
|
testprintffloatstar $'% *.10F' $'20' $'0'
|
||
|
testprintffloat $'%1.F' $'1'
|
||
|
testprintffloat $'%5.F' $'1'
|
||
|
testprintffloat $'%10.F' $'1'
|
||
|
testprintffloatstar $'%1.*F' $'0' $'1'
|
||
|
testprintffloatstar $'%5.*F' $'0' $'1'
|
||
|
testprintffloatstar $'%10.*F' $'0' $'1'
|
||
|
testprintffloatstar $'%*.F' $'0' $'1'
|
||
|
testprintffloatstar $'%*.1F' $'0' $'1'
|
||
|
testprintffloatstar $'%*.5F' $'0' $'1'
|
||
|
testprintffloatstar $'%*.10F' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.F' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.1F' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.5F' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.10F' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.F' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.1F' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.5F' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.10F' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.F' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.1F' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.5F' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.10F' $'0' $'1'
|
||
|
testprintffloatstar $'% *.F' $'0' $'1'
|
||
|
testprintffloatstar $'% *.1F' $'0' $'1'
|
||
|
testprintffloatstar $'% *.5F' $'0' $'1'
|
||
|
testprintffloatstar $'% *.10F' $'0' $'1'
|
||
|
testprintffloatstar $'%1.*F' $'1' $'1'
|
||
|
testprintffloatstar $'%5.*F' $'1' $'1'
|
||
|
testprintffloatstar $'%10.*F' $'1' $'1'
|
||
|
testprintffloatstar $'%*.F' $'1' $'1'
|
||
|
testprintffloatstar $'%*.1F' $'1' $'1'
|
||
|
testprintffloatstar $'%*.5F' $'1' $'1'
|
||
|
testprintffloatstar $'%*.10F' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.F' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.1F' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.5F' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.10F' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.F' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.1F' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.5F' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.10F' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.F' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.1F' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.5F' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.10F' $'1' $'1'
|
||
|
testprintffloatstar $'% *.F' $'1' $'1'
|
||
|
testprintffloatstar $'% *.1F' $'1' $'1'
|
||
|
testprintffloatstar $'% *.5F' $'1' $'1'
|
||
|
testprintffloatstar $'% *.10F' $'1' $'1'
|
||
|
testprintffloatstar $'%1.*F' $'10' $'1'
|
||
|
testprintffloatstar $'%5.*F' $'10' $'1'
|
||
|
testprintffloatstar $'%10.*F' $'10' $'1'
|
||
|
testprintffloatstar $'%*.F' $'10' $'1'
|
||
|
testprintffloatstar $'%*.1F' $'10' $'1'
|
||
|
testprintffloatstar $'%*.5F' $'10' $'1'
|
||
|
testprintffloatstar $'%*.10F' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.F' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.1F' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.5F' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.10F' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.F' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.1F' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.5F' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.10F' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.F' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.1F' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.5F' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.10F' $'10' $'1'
|
||
|
testprintffloatstar $'% *.F' $'10' $'1'
|
||
|
testprintffloatstar $'% *.1F' $'10' $'1'
|
||
|
testprintffloatstar $'% *.5F' $'10' $'1'
|
||
|
testprintffloatstar $'% *.10F' $'10' $'1'
|
||
|
testprintffloatstar $'%1.*F' $'20' $'1'
|
||
|
testprintffloatstar $'%5.*F' $'20' $'1'
|
||
|
testprintffloatstar $'%10.*F' $'20' $'1'
|
||
|
testprintffloatstar $'%*.F' $'20' $'1'
|
||
|
testprintffloatstar $'%*.1F' $'20' $'1'
|
||
|
testprintffloatstar $'%*.5F' $'20' $'1'
|
||
|
testprintffloatstar $'%*.10F' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.F' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.1F' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.5F' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.10F' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.F' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.1F' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.5F' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.10F' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.F' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.1F' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.5F' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.10F' $'20' $'1'
|
||
|
testprintffloatstar $'% *.F' $'20' $'1'
|
||
|
testprintffloatstar $'% *.1F' $'20' $'1'
|
||
|
testprintffloatstar $'% *.5F' $'20' $'1'
|
||
|
testprintffloatstar $'% *.10F' $'20' $'1'
|
||
|
testprintffloat $'%1.F' $'1.12345'
|
||
|
testprintffloat $'%5.F' $'1.12345'
|
||
|
testprintffloat $'%10.F' $'1.12345'
|
||
|
testprintffloatstar $'%1.*F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%5.*F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%10.*F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.1F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.5F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.10F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.1F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.5F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.10F' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%1.*F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%5.*F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%10.*F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.1F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.5F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.10F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.1F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.5F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.10F' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%1.*F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%5.*F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%10.*F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.1F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.5F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.10F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.1F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.5F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.10F' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%1.*F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%5.*F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%10.*F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.1F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.5F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.10F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.1F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.5F' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.10F' $'20' $'1.12345'
|
||
|
testprintffloat $'%1.F' $'-1'
|
||
|
testprintffloat $'%5.F' $'-1'
|
||
|
testprintffloat $'%10.F' $'-1'
|
||
|
testprintffloatstar $'%1.*F' $'0' $'-1'
|
||
|
testprintffloatstar $'%5.*F' $'0' $'-1'
|
||
|
testprintffloatstar $'%10.*F' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.F' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.1F' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.5F' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.10F' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.F' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.1F' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.5F' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.10F' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.F' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.1F' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.5F' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.10F' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.F' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.1F' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.5F' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.10F' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.F' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.1F' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.5F' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.10F' $'0' $'-1'
|
||
|
testprintffloatstar $'%1.*F' $'1' $'-1'
|
||
|
testprintffloatstar $'%5.*F' $'1' $'-1'
|
||
|
testprintffloatstar $'%10.*F' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.F' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.1F' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.5F' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.10F' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.F' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.1F' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.5F' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.10F' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.F' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.1F' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.5F' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.10F' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.F' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.1F' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.5F' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.10F' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.F' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.1F' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.5F' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.10F' $'1' $'-1'
|
||
|
testprintffloatstar $'%1.*F' $'10' $'-1'
|
||
|
testprintffloatstar $'%5.*F' $'10' $'-1'
|
||
|
testprintffloatstar $'%10.*F' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.F' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.1F' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.5F' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.10F' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.F' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.1F' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.5F' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.10F' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.F' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.1F' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.5F' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.10F' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.F' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.1F' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.5F' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.10F' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.F' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.1F' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.5F' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.10F' $'10' $'-1'
|
||
|
testprintffloatstar $'%1.*F' $'20' $'-1'
|
||
|
testprintffloatstar $'%5.*F' $'20' $'-1'
|
||
|
testprintffloatstar $'%10.*F' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.F' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.1F' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.5F' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.10F' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.F' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.1F' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.5F' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.10F' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.F' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.1F' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.5F' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.10F' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.F' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.1F' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.5F' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.10F' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.F' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.1F' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.5F' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.10F' $'20' $'-1'
|
||
|
testprintffloat $'%1.F' $'-1.12345'
|
||
|
testprintffloat $'%5.F' $'-1.12345'
|
||
|
testprintffloat $'%10.F' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10F' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10F' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10F' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5F' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10F' $'20' $'-1.12345'
|
||
|
testprintffloat $'%1.G' $'0'
|
||
|
testprintffloat $'%5.G' $'0'
|
||
|
testprintffloat $'%10.G' $'0'
|
||
|
testprintffloatstar $'%1.*G' $'0' $'0'
|
||
|
testprintffloatstar $'%5.*G' $'0' $'0'
|
||
|
testprintffloatstar $'%10.*G' $'0' $'0'
|
||
|
testprintffloatstar $'%*.G' $'0' $'0'
|
||
|
testprintffloatstar $'%*.1G' $'0' $'0'
|
||
|
testprintffloatstar $'%*.5G' $'0' $'0'
|
||
|
testprintffloatstar $'%*.10G' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.G' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.1G' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.5G' $'0' $'0'
|
||
|
testprintffloatstar $'%-*.10G' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.G' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.1G' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.5G' $'0' $'0'
|
||
|
testprintffloatstar $'%0*.10G' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.G' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.1G' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.5G' $'0' $'0'
|
||
|
testprintffloatstar $'%+*.10G' $'0' $'0'
|
||
|
testprintffloatstar $'% *.G' $'0' $'0'
|
||
|
testprintffloatstar $'% *.1G' $'0' $'0'
|
||
|
testprintffloatstar $'% *.5G' $'0' $'0'
|
||
|
testprintffloatstar $'% *.10G' $'0' $'0'
|
||
|
testprintffloatstar $'%1.*G' $'1' $'0'
|
||
|
testprintffloatstar $'%5.*G' $'1' $'0'
|
||
|
testprintffloatstar $'%10.*G' $'1' $'0'
|
||
|
testprintffloatstar $'%*.G' $'1' $'0'
|
||
|
testprintffloatstar $'%*.1G' $'1' $'0'
|
||
|
testprintffloatstar $'%*.5G' $'1' $'0'
|
||
|
testprintffloatstar $'%*.10G' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.G' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.1G' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.5G' $'1' $'0'
|
||
|
testprintffloatstar $'%-*.10G' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.G' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.1G' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.5G' $'1' $'0'
|
||
|
testprintffloatstar $'%0*.10G' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.G' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.1G' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.5G' $'1' $'0'
|
||
|
testprintffloatstar $'%+*.10G' $'1' $'0'
|
||
|
testprintffloatstar $'% *.G' $'1' $'0'
|
||
|
testprintffloatstar $'% *.1G' $'1' $'0'
|
||
|
testprintffloatstar $'% *.5G' $'1' $'0'
|
||
|
testprintffloatstar $'% *.10G' $'1' $'0'
|
||
|
testprintffloatstar $'%1.*G' $'10' $'0'
|
||
|
testprintffloatstar $'%5.*G' $'10' $'0'
|
||
|
testprintffloatstar $'%10.*G' $'10' $'0'
|
||
|
testprintffloatstar $'%*.G' $'10' $'0'
|
||
|
testprintffloatstar $'%*.1G' $'10' $'0'
|
||
|
testprintffloatstar $'%*.5G' $'10' $'0'
|
||
|
testprintffloatstar $'%*.10G' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.G' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.1G' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.5G' $'10' $'0'
|
||
|
testprintffloatstar $'%-*.10G' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.G' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.1G' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.5G' $'10' $'0'
|
||
|
testprintffloatstar $'%0*.10G' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.G' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.1G' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.5G' $'10' $'0'
|
||
|
testprintffloatstar $'%+*.10G' $'10' $'0'
|
||
|
testprintffloatstar $'% *.G' $'10' $'0'
|
||
|
testprintffloatstar $'% *.1G' $'10' $'0'
|
||
|
testprintffloatstar $'% *.5G' $'10' $'0'
|
||
|
testprintffloatstar $'% *.10G' $'10' $'0'
|
||
|
testprintffloatstar $'%1.*G' $'20' $'0'
|
||
|
testprintffloatstar $'%5.*G' $'20' $'0'
|
||
|
testprintffloatstar $'%10.*G' $'20' $'0'
|
||
|
testprintffloatstar $'%*.G' $'20' $'0'
|
||
|
testprintffloatstar $'%*.1G' $'20' $'0'
|
||
|
testprintffloatstar $'%*.5G' $'20' $'0'
|
||
|
testprintffloatstar $'%*.10G' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.G' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.1G' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.5G' $'20' $'0'
|
||
|
testprintffloatstar $'%-*.10G' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.G' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.1G' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.5G' $'20' $'0'
|
||
|
testprintffloatstar $'%0*.10G' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.G' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.1G' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.5G' $'20' $'0'
|
||
|
testprintffloatstar $'%+*.10G' $'20' $'0'
|
||
|
testprintffloatstar $'% *.G' $'20' $'0'
|
||
|
testprintffloatstar $'% *.1G' $'20' $'0'
|
||
|
testprintffloatstar $'% *.5G' $'20' $'0'
|
||
|
testprintffloatstar $'% *.10G' $'20' $'0'
|
||
|
testprintffloat $'%1.G' $'1'
|
||
|
testprintffloat $'%5.G' $'1'
|
||
|
testprintffloat $'%10.G' $'1'
|
||
|
testprintffloatstar $'%1.*G' $'0' $'1'
|
||
|
testprintffloatstar $'%5.*G' $'0' $'1'
|
||
|
testprintffloatstar $'%10.*G' $'0' $'1'
|
||
|
testprintffloatstar $'%*.G' $'0' $'1'
|
||
|
testprintffloatstar $'%*.1G' $'0' $'1'
|
||
|
testprintffloatstar $'%*.5G' $'0' $'1'
|
||
|
testprintffloatstar $'%*.10G' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.G' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.1G' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.5G' $'0' $'1'
|
||
|
testprintffloatstar $'%-*.10G' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.G' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.1G' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.5G' $'0' $'1'
|
||
|
testprintffloatstar $'%0*.10G' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.G' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.1G' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.5G' $'0' $'1'
|
||
|
testprintffloatstar $'%+*.10G' $'0' $'1'
|
||
|
testprintffloatstar $'% *.G' $'0' $'1'
|
||
|
testprintffloatstar $'% *.1G' $'0' $'1'
|
||
|
testprintffloatstar $'% *.5G' $'0' $'1'
|
||
|
testprintffloatstar $'% *.10G' $'0' $'1'
|
||
|
testprintffloatstar $'%1.*G' $'1' $'1'
|
||
|
testprintffloatstar $'%5.*G' $'1' $'1'
|
||
|
testprintffloatstar $'%10.*G' $'1' $'1'
|
||
|
testprintffloatstar $'%*.G' $'1' $'1'
|
||
|
testprintffloatstar $'%*.1G' $'1' $'1'
|
||
|
testprintffloatstar $'%*.5G' $'1' $'1'
|
||
|
testprintffloatstar $'%*.10G' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.G' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.1G' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.5G' $'1' $'1'
|
||
|
testprintffloatstar $'%-*.10G' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.G' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.1G' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.5G' $'1' $'1'
|
||
|
testprintffloatstar $'%0*.10G' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.G' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.1G' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.5G' $'1' $'1'
|
||
|
testprintffloatstar $'%+*.10G' $'1' $'1'
|
||
|
testprintffloatstar $'% *.G' $'1' $'1'
|
||
|
testprintffloatstar $'% *.1G' $'1' $'1'
|
||
|
testprintffloatstar $'% *.5G' $'1' $'1'
|
||
|
testprintffloatstar $'% *.10G' $'1' $'1'
|
||
|
testprintffloatstar $'%1.*G' $'10' $'1'
|
||
|
testprintffloatstar $'%5.*G' $'10' $'1'
|
||
|
testprintffloatstar $'%10.*G' $'10' $'1'
|
||
|
testprintffloatstar $'%*.G' $'10' $'1'
|
||
|
testprintffloatstar $'%*.1G' $'10' $'1'
|
||
|
testprintffloatstar $'%*.5G' $'10' $'1'
|
||
|
testprintffloatstar $'%*.10G' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.G' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.1G' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.5G' $'10' $'1'
|
||
|
testprintffloatstar $'%-*.10G' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.G' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.1G' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.5G' $'10' $'1'
|
||
|
testprintffloatstar $'%0*.10G' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.G' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.1G' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.5G' $'10' $'1'
|
||
|
testprintffloatstar $'%+*.10G' $'10' $'1'
|
||
|
testprintffloatstar $'% *.G' $'10' $'1'
|
||
|
testprintffloatstar $'% *.1G' $'10' $'1'
|
||
|
testprintffloatstar $'% *.5G' $'10' $'1'
|
||
|
testprintffloatstar $'% *.10G' $'10' $'1'
|
||
|
testprintffloatstar $'%1.*G' $'20' $'1'
|
||
|
testprintffloatstar $'%5.*G' $'20' $'1'
|
||
|
testprintffloatstar $'%10.*G' $'20' $'1'
|
||
|
testprintffloatstar $'%*.G' $'20' $'1'
|
||
|
testprintffloatstar $'%*.1G' $'20' $'1'
|
||
|
testprintffloatstar $'%*.5G' $'20' $'1'
|
||
|
testprintffloatstar $'%*.10G' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.G' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.1G' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.5G' $'20' $'1'
|
||
|
testprintffloatstar $'%-*.10G' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.G' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.1G' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.5G' $'20' $'1'
|
||
|
testprintffloatstar $'%0*.10G' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.G' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.1G' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.5G' $'20' $'1'
|
||
|
testprintffloatstar $'%+*.10G' $'20' $'1'
|
||
|
testprintffloatstar $'% *.G' $'20' $'1'
|
||
|
testprintffloatstar $'% *.1G' $'20' $'1'
|
||
|
testprintffloatstar $'% *.5G' $'20' $'1'
|
||
|
testprintffloatstar $'% *.10G' $'20' $'1'
|
||
|
testprintffloat $'%1.G' $'1.12345'
|
||
|
testprintffloat $'%5.G' $'1.12345'
|
||
|
testprintffloat $'%10.G' $'1.12345'
|
||
|
testprintffloatstar $'%1.*G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%5.*G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%10.*G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.1G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.5G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%*.10G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.1G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.5G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'% *.10G' $'0' $'1.12345'
|
||
|
testprintffloatstar $'%1.*G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%5.*G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%10.*G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.1G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.5G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%*.10G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.1G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.5G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'% *.10G' $'1' $'1.12345'
|
||
|
testprintffloatstar $'%1.*G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%5.*G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%10.*G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.1G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.5G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%*.10G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.1G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.5G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'% *.10G' $'10' $'1.12345'
|
||
|
testprintffloatstar $'%1.*G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%5.*G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%10.*G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.1G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.5G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%*.10G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.1G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.5G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%-*.10G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.1G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.5G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%0*.10G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.1G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.5G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'%+*.10G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.1G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.5G' $'20' $'1.12345'
|
||
|
testprintffloatstar $'% *.10G' $'20' $'1.12345'
|
||
|
testprintffloat $'%1.G' $'-1'
|
||
|
testprintffloat $'%5.G' $'-1'
|
||
|
testprintffloat $'%10.G' $'-1'
|
||
|
testprintffloatstar $'%1.*G' $'0' $'-1'
|
||
|
testprintffloatstar $'%5.*G' $'0' $'-1'
|
||
|
testprintffloatstar $'%10.*G' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.G' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.1G' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.5G' $'0' $'-1'
|
||
|
testprintffloatstar $'%*.10G' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.G' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.1G' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.5G' $'0' $'-1'
|
||
|
testprintffloatstar $'%-*.10G' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.G' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.1G' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.5G' $'0' $'-1'
|
||
|
testprintffloatstar $'%0*.10G' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.G' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.1G' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.5G' $'0' $'-1'
|
||
|
testprintffloatstar $'%+*.10G' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.G' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.1G' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.5G' $'0' $'-1'
|
||
|
testprintffloatstar $'% *.10G' $'0' $'-1'
|
||
|
testprintffloatstar $'%1.*G' $'1' $'-1'
|
||
|
testprintffloatstar $'%5.*G' $'1' $'-1'
|
||
|
testprintffloatstar $'%10.*G' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.G' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.1G' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.5G' $'1' $'-1'
|
||
|
testprintffloatstar $'%*.10G' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.G' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.1G' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.5G' $'1' $'-1'
|
||
|
testprintffloatstar $'%-*.10G' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.G' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.1G' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.5G' $'1' $'-1'
|
||
|
testprintffloatstar $'%0*.10G' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.G' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.1G' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.5G' $'1' $'-1'
|
||
|
testprintffloatstar $'%+*.10G' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.G' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.1G' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.5G' $'1' $'-1'
|
||
|
testprintffloatstar $'% *.10G' $'1' $'-1'
|
||
|
testprintffloatstar $'%1.*G' $'10' $'-1'
|
||
|
testprintffloatstar $'%5.*G' $'10' $'-1'
|
||
|
testprintffloatstar $'%10.*G' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.G' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.1G' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.5G' $'10' $'-1'
|
||
|
testprintffloatstar $'%*.10G' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.G' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.1G' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.5G' $'10' $'-1'
|
||
|
testprintffloatstar $'%-*.10G' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.G' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.1G' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.5G' $'10' $'-1'
|
||
|
testprintffloatstar $'%0*.10G' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.G' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.1G' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.5G' $'10' $'-1'
|
||
|
testprintffloatstar $'%+*.10G' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.G' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.1G' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.5G' $'10' $'-1'
|
||
|
testprintffloatstar $'% *.10G' $'10' $'-1'
|
||
|
testprintffloatstar $'%1.*G' $'20' $'-1'
|
||
|
testprintffloatstar $'%5.*G' $'20' $'-1'
|
||
|
testprintffloatstar $'%10.*G' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.G' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.1G' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.5G' $'20' $'-1'
|
||
|
testprintffloatstar $'%*.10G' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.G' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.1G' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.5G' $'20' $'-1'
|
||
|
testprintffloatstar $'%-*.10G' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.G' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.1G' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.5G' $'20' $'-1'
|
||
|
testprintffloatstar $'%0*.10G' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.G' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.1G' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.5G' $'20' $'-1'
|
||
|
testprintffloatstar $'%+*.10G' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.G' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.1G' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.5G' $'20' $'-1'
|
||
|
testprintffloatstar $'% *.10G' $'20' $'-1'
|
||
|
testprintffloat $'%1.G' $'-1.12345'
|
||
|
testprintffloat $'%5.G' $'-1.12345'
|
||
|
testprintffloat $'%10.G' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10G' $'0' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10G' $'1' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10G' $'10' $'-1.12345'
|
||
|
testprintffloatstar $'%1.*G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%5.*G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%10.*G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.1G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.5G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%*.10G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.1G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.5G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%-*.10G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.1G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.5G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%0*.10G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.1G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.5G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'%+*.10G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.1G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.5G' $'20' $'-1.12345'
|
||
|
testprintffloatstar $'% *.10G' $'20' $'-1.12345'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Lenght Modifier 'l'
|
||
|
printf "\e[1;36mTesting Extra Length Modifier "'l'" \e[0;00m"
|
||
|
testprintffloat $'%la' $'1.12345'
|
||
|
testprintffloat $'%la' $'1234567890.1234567890'
|
||
|
testprintffloat $'%la' $'-1.12345'
|
||
|
testprintffloat $'%la' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%lA' $'1.12345'
|
||
|
testprintffloat $'%lA' $'1234567890.1234567890'
|
||
|
testprintffloat $'%lA' $'-1.12345'
|
||
|
testprintffloat $'%lA' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%lE' $'1.12345'
|
||
|
testprintffloat $'%lE' $'1234567890.1234567890'
|
||
|
testprintffloat $'%lE' $'-1.12345'
|
||
|
testprintffloat $'%lE' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%lF' $'1.12345'
|
||
|
testprintffloat $'%lF' $'1234567890.1234567890'
|
||
|
testprintffloat $'%lF' $'-1.12345'
|
||
|
testprintffloat $'%lF' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%lG' $'1.12345'
|
||
|
testprintffloat $'%lG' $'1234567890.1234567890'
|
||
|
testprintffloat $'%lG' $'-1.12345'
|
||
|
testprintffloat $'%lG' $'-1234567890.1234567890'
|
||
|
testprintfint $'%lo' $'1'
|
||
|
testprintfint $'%lo' $'2147483647'
|
||
|
testprintfint $'%lo' $'4294967295'
|
||
|
testprintfint $'%lo' $'42949672951'
|
||
|
testprintfint $'%lb' $'1'
|
||
|
testprintfint $'%lb' $'2147483647'
|
||
|
testprintfint $'%lb' $'4294967295'
|
||
|
testprintfint $'%lb' $'42949672951'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Lenght Modifier 'll'
|
||
|
printf "\e[1;36mTesting Extra Length Modifier "'ll'" \e[0;00m"
|
||
|
testprintffloat $'%lla' $'1.12345'
|
||
|
testprintffloat $'%lla' $'1234567890.1234567890'
|
||
|
testprintffloat $'%lla' $'-1.12345'
|
||
|
testprintffloat $'%lla' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%llA' $'1.12345'
|
||
|
testprintffloat $'%llA' $'1234567890.1234567890'
|
||
|
testprintffloat $'%llA' $'-1.12345'
|
||
|
testprintffloat $'%llA' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%llE' $'1.12345'
|
||
|
testprintffloat $'%llE' $'1234567890.1234567890'
|
||
|
testprintffloat $'%llE' $'-1.12345'
|
||
|
testprintffloat $'%llE' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%llF' $'1.12345'
|
||
|
testprintffloat $'%llF' $'1234567890.1234567890'
|
||
|
testprintffloat $'%llF' $'-1.12345'
|
||
|
testprintffloat $'%llF' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%llG' $'1.12345'
|
||
|
testprintffloat $'%llG' $'1234567890.1234567890'
|
||
|
testprintffloat $'%llG' $'-1.12345'
|
||
|
testprintffloat $'%llG' $'-1234567890.1234567890'
|
||
|
testprintfint $'%llo' $'1'
|
||
|
testprintfint $'%llo' $'2147483647'
|
||
|
testprintfint $'%llo' $'4294967295'
|
||
|
testprintfint $'%llo' $'42949672951'
|
||
|
testprintfint $'%llb' $'1'
|
||
|
testprintfint $'%llb' $'2147483647'
|
||
|
testprintfint $'%llb' $'4294967295'
|
||
|
testprintfint $'%llb' $'42949672951'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Lenght Modifier 'h'
|
||
|
printf "\e[1;36mTesting Extra Length Modifier "'h'" \e[0;00m"
|
||
|
testprintffloat $'%ha' $'1.12345'
|
||
|
testprintffloat $'%ha' $'1234567890.1234567890'
|
||
|
testprintffloat $'%ha' $'-1.12345'
|
||
|
testprintffloat $'%ha' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hA' $'1.12345'
|
||
|
testprintffloat $'%hA' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hA' $'-1.12345'
|
||
|
testprintffloat $'%hA' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hE' $'1.12345'
|
||
|
testprintffloat $'%hE' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hE' $'-1.12345'
|
||
|
testprintffloat $'%hE' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hF' $'1.12345'
|
||
|
testprintffloat $'%hF' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hF' $'-1.12345'
|
||
|
testprintffloat $'%hF' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hG' $'1.12345'
|
||
|
testprintffloat $'%hG' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hG' $'-1.12345'
|
||
|
testprintffloat $'%hG' $'-1234567890.1234567890'
|
||
|
testprintfint $'%ho' $'1'
|
||
|
testprintfint $'%ho' $'2147483647'
|
||
|
testprintfint $'%ho' $'4294967295'
|
||
|
testprintfint $'%ho' $'42949672951'
|
||
|
testprintfint $'%hb' $'1'
|
||
|
testprintfint $'%hb' $'2147483647'
|
||
|
testprintfint $'%hb' $'4294967295'
|
||
|
testprintfint $'%hb' $'42949672951'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Lenght Modifier 'hh'
|
||
|
printf "\e[1;36mTesting Extra Length Modifier "'hh'" \e[0;00m"
|
||
|
testprintffloat $'%hha' $'1.12345'
|
||
|
testprintffloat $'%hha' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hha' $'-1.12345'
|
||
|
testprintffloat $'%hha' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hhA' $'1.12345'
|
||
|
testprintffloat $'%hhA' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hhA' $'-1.12345'
|
||
|
testprintffloat $'%hhA' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hhE' $'1.12345'
|
||
|
testprintffloat $'%hhE' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hhE' $'-1.12345'
|
||
|
testprintffloat $'%hhE' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hhF' $'1.12345'
|
||
|
testprintffloat $'%hhF' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hhF' $'-1.12345'
|
||
|
testprintffloat $'%hhF' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%hhG' $'1.12345'
|
||
|
testprintffloat $'%hhG' $'1234567890.1234567890'
|
||
|
testprintffloat $'%hhG' $'-1.12345'
|
||
|
testprintffloat $'%hhG' $'-1234567890.1234567890'
|
||
|
testprintfint $'%hho' $'1'
|
||
|
testprintfint $'%hho' $'2147483647'
|
||
|
testprintfint $'%hho' $'4294967295'
|
||
|
testprintfint $'%hho' $'42949672951'
|
||
|
testprintfint $'%hhb' $'1'
|
||
|
testprintfint $'%hhb' $'2147483647'
|
||
|
testprintfint $'%hhb' $'4294967295'
|
||
|
testprintfint $'%hhb' $'42949672951'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Lenght Modifier 'L'
|
||
|
printf "\e[1;36mTesting Extra Length Modifier "'L'" \e[0;00m"
|
||
|
testprintfchar $'%Lc' $'a'
|
||
|
testprintfstring $'%Ls' $'Hallo'
|
||
|
testprintfpointer $'%Lp' $'joehoe'
|
||
|
testprintfint $'%Ld' $'1'
|
||
|
testprintfint $'%Ld' $'2147483647'
|
||
|
testprintfint $'%Ld' $'-2147483648'
|
||
|
testprintfint $'%Ld' $'4294967295'
|
||
|
testprintfint $'%Ld' $'-4294967296'
|
||
|
testprintfint $'%Li' $'1'
|
||
|
testprintfint $'%Li' $'2147483647'
|
||
|
testprintfint $'%Li' $'-2147483648'
|
||
|
testprintfint $'%Li' $'4294967295'
|
||
|
testprintfint $'%Li' $'-4294967296'
|
||
|
testprintfint $'%Lu' $'1'
|
||
|
testprintfint $'%Lu' $'2147483647'
|
||
|
testprintfint $'%Lu' $'4294967295'
|
||
|
testprintfint $'%Lu' $'42949672951'
|
||
|
testprintfint $'%Lx' $'1'
|
||
|
testprintfint $'%Lx' $'2147483647'
|
||
|
testprintfint $'%Lx' $'4294967295'
|
||
|
testprintfint $'%Lx' $'42949672951'
|
||
|
testprintfint $'%LX' $'1'
|
||
|
testprintfint $'%LX' $'2147483647'
|
||
|
testprintfint $'%LX' $'4294967295'
|
||
|
testprintfint $'%LX' $'42949672951'
|
||
|
testprintfn $'%Ln' $'1'
|
||
|
testprintffloat $'%Lf' $'1.12345'
|
||
|
testprintffloat $'%Lf' $'1234567890.1234567890'
|
||
|
testprintffloat $'%Lf' $'-1.12345'
|
||
|
testprintffloat $'%Lf' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%Lg' $'1.12345'
|
||
|
testprintffloat $'%Lg' $'1234567890.1234567890'
|
||
|
testprintffloat $'%Lg' $'-1.12345'
|
||
|
testprintffloat $'%Lg' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%Le' $'1.12345'
|
||
|
testprintffloat $'%Le' $'1234567890.1234567890'
|
||
|
testprintffloat $'%Le' $'-1.12345'
|
||
|
testprintffloat $'%Le' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%La' $'1.12345'
|
||
|
testprintffloat $'%La' $'1234567890.1234567890'
|
||
|
testprintffloat $'%La' $'-1.12345'
|
||
|
testprintffloat $'%La' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%LA' $'1.12345'
|
||
|
testprintffloat $'%LA' $'1234567890.1234567890'
|
||
|
testprintffloat $'%LA' $'-1.12345'
|
||
|
testprintffloat $'%LA' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%LE' $'1.12345'
|
||
|
testprintffloat $'%LE' $'1234567890.1234567890'
|
||
|
testprintffloat $'%LE' $'-1.12345'
|
||
|
testprintffloat $'%LE' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%LF' $'1.12345'
|
||
|
testprintffloat $'%LF' $'1234567890.1234567890'
|
||
|
testprintffloat $'%LF' $'-1.12345'
|
||
|
testprintffloat $'%LF' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%LG' $'1.12345'
|
||
|
testprintffloat $'%LG' $'1234567890.1234567890'
|
||
|
testprintffloat $'%LG' $'-1.12345'
|
||
|
testprintffloat $'%LG' $'-1234567890.1234567890'
|
||
|
testprintfint $'%Lo' $'1'
|
||
|
testprintfint $'%Lo' $'2147483647'
|
||
|
testprintfint $'%Lo' $'4294967295'
|
||
|
testprintfint $'%Lo' $'42949672951'
|
||
|
testprintfint $'%Lb' $'1'
|
||
|
testprintfint $'%Lb' $'2147483647'
|
||
|
testprintfint $'%Lb' $'4294967295'
|
||
|
testprintfint $'%Lb' $'42949672951'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Lenght Modifier 'q'
|
||
|
printf "\e[1;36mTesting Extra Length Modifier "'q'" \e[0;00m"
|
||
|
testprintfchar $'%qc' $'a'
|
||
|
testprintfstring $'%qs' $'Hallo'
|
||
|
testprintfpointer $'%qp' $'joehoe'
|
||
|
testprintfint $'%qd' $'1'
|
||
|
testprintfint $'%qd' $'2147483647'
|
||
|
testprintfint $'%qd' $'-2147483648'
|
||
|
testprintfint $'%qd' $'4294967295'
|
||
|
testprintfint $'%qd' $'-4294967296'
|
||
|
testprintfint $'%qi' $'1'
|
||
|
testprintfint $'%qi' $'2147483647'
|
||
|
testprintfint $'%qi' $'-2147483648'
|
||
|
testprintfint $'%qi' $'4294967295'
|
||
|
testprintfint $'%qi' $'-4294967296'
|
||
|
testprintfint $'%qu' $'1'
|
||
|
testprintfint $'%qu' $'2147483647'
|
||
|
testprintfint $'%qu' $'4294967295'
|
||
|
testprintfint $'%qu' $'42949672951'
|
||
|
testprintfint $'%qx' $'1'
|
||
|
testprintfint $'%qx' $'2147483647'
|
||
|
testprintfint $'%qx' $'4294967295'
|
||
|
testprintfint $'%qx' $'42949672951'
|
||
|
testprintfint $'%qX' $'1'
|
||
|
testprintfint $'%qX' $'2147483647'
|
||
|
testprintfint $'%qX' $'4294967295'
|
||
|
testprintfint $'%qX' $'42949672951'
|
||
|
testprintfn $'%qn' $'1'
|
||
|
testprintffloat $'%qf' $'1.12345'
|
||
|
testprintffloat $'%qf' $'1234567890.1234567890'
|
||
|
testprintffloat $'%qf' $'-1.12345'
|
||
|
testprintffloat $'%qf' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%qg' $'1.12345'
|
||
|
testprintffloat $'%qg' $'1234567890.1234567890'
|
||
|
testprintffloat $'%qg' $'-1.12345'
|
||
|
testprintffloat $'%qg' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%qe' $'1.12345'
|
||
|
testprintffloat $'%qe' $'1234567890.1234567890'
|
||
|
testprintffloat $'%qe' $'-1.12345'
|
||
|
testprintffloat $'%qe' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%qa' $'1.12345'
|
||
|
testprintffloat $'%qa' $'1234567890.1234567890'
|
||
|
testprintffloat $'%qa' $'-1.12345'
|
||
|
testprintffloat $'%qa' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%qA' $'1.12345'
|
||
|
testprintffloat $'%qA' $'1234567890.1234567890'
|
||
|
testprintffloat $'%qA' $'-1.12345'
|
||
|
testprintffloat $'%qA' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%qE' $'1.12345'
|
||
|
testprintffloat $'%qE' $'1234567890.1234567890'
|
||
|
testprintffloat $'%qE' $'-1.12345'
|
||
|
testprintffloat $'%qE' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%qF' $'1.12345'
|
||
|
testprintffloat $'%qF' $'1234567890.1234567890'
|
||
|
testprintffloat $'%qF' $'-1.12345'
|
||
|
testprintffloat $'%qF' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%qG' $'1.12345'
|
||
|
testprintffloat $'%qG' $'1234567890.1234567890'
|
||
|
testprintffloat $'%qG' $'-1.12345'
|
||
|
testprintffloat $'%qG' $'-1234567890.1234567890'
|
||
|
testprintfint $'%qo' $'1'
|
||
|
testprintfint $'%qo' $'2147483647'
|
||
|
testprintfint $'%qo' $'4294967295'
|
||
|
testprintfint $'%qo' $'42949672951'
|
||
|
testprintfint $'%qb' $'1'
|
||
|
testprintfint $'%qb' $'2147483647'
|
||
|
testprintfint $'%qb' $'4294967295'
|
||
|
testprintfint $'%qb' $'42949672951'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Lenght Modifier 't'
|
||
|
printf "\e[1;36mTesting Extra Length Modifier "'t'" \e[0;00m"
|
||
|
testprintfchar $'%tc' $'a'
|
||
|
testprintfstring $'%ts' $'Hallo'
|
||
|
testprintfpointer $'%tp' $'joehoe'
|
||
|
testprintfint $'%td' $'1'
|
||
|
testprintfint $'%td' $'2147483647'
|
||
|
testprintfint $'%td' $'-2147483648'
|
||
|
testprintfint $'%td' $'4294967295'
|
||
|
testprintfint $'%td' $'-4294967296'
|
||
|
testprintfint $'%ti' $'1'
|
||
|
testprintfint $'%ti' $'2147483647'
|
||
|
testprintfint $'%ti' $'-2147483648'
|
||
|
testprintfint $'%ti' $'4294967295'
|
||
|
testprintfint $'%ti' $'-4294967296'
|
||
|
testprintfint $'%tu' $'1'
|
||
|
testprintfint $'%tu' $'2147483647'
|
||
|
testprintfint $'%tu' $'4294967295'
|
||
|
testprintfint $'%tu' $'42949672951'
|
||
|
testprintfint $'%tx' $'1'
|
||
|
testprintfint $'%tx' $'2147483647'
|
||
|
testprintfint $'%tx' $'4294967295'
|
||
|
testprintfint $'%tx' $'42949672951'
|
||
|
testprintfint $'%tX' $'1'
|
||
|
testprintfint $'%tX' $'2147483647'
|
||
|
testprintfint $'%tX' $'4294967295'
|
||
|
testprintfint $'%tX' $'42949672951'
|
||
|
testprintfn $'%tn' $'1'
|
||
|
testprintffloat $'%tf' $'1.12345'
|
||
|
testprintffloat $'%tf' $'1234567890.1234567890'
|
||
|
testprintffloat $'%tf' $'-1.12345'
|
||
|
testprintffloat $'%tf' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%tg' $'1.12345'
|
||
|
testprintffloat $'%tg' $'1234567890.1234567890'
|
||
|
testprintffloat $'%tg' $'-1.12345'
|
||
|
testprintffloat $'%tg' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%te' $'1.12345'
|
||
|
testprintffloat $'%te' $'1234567890.1234567890'
|
||
|
testprintffloat $'%te' $'-1.12345'
|
||
|
testprintffloat $'%te' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%ta' $'1.12345'
|
||
|
testprintffloat $'%ta' $'1234567890.1234567890'
|
||
|
testprintffloat $'%ta' $'-1.12345'
|
||
|
testprintffloat $'%ta' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%tA' $'1.12345'
|
||
|
testprintffloat $'%tA' $'1234567890.1234567890'
|
||
|
testprintffloat $'%tA' $'-1.12345'
|
||
|
testprintffloat $'%tA' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%tE' $'1.12345'
|
||
|
testprintffloat $'%tE' $'1234567890.1234567890'
|
||
|
testprintffloat $'%tE' $'-1.12345'
|
||
|
testprintffloat $'%tE' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%tF' $'1.12345'
|
||
|
testprintffloat $'%tF' $'1234567890.1234567890'
|
||
|
testprintffloat $'%tF' $'-1.12345'
|
||
|
testprintffloat $'%tF' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%tG' $'1.12345'
|
||
|
testprintffloat $'%tG' $'1234567890.1234567890'
|
||
|
testprintffloat $'%tG' $'-1.12345'
|
||
|
testprintffloat $'%tG' $'-1234567890.1234567890'
|
||
|
testprintfint $'%to' $'1'
|
||
|
testprintfint $'%to' $'2147483647'
|
||
|
testprintfint $'%to' $'4294967295'
|
||
|
testprintfint $'%to' $'42949672951'
|
||
|
testprintfint $'%tb' $'1'
|
||
|
testprintfint $'%tb' $'2147483647'
|
||
|
testprintfint $'%tb' $'4294967295'
|
||
|
testprintfint $'%tb' $'42949672951'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Lenght Modifier 'j'
|
||
|
printf "\e[1;36mTesting Extra Length Modifier "'j'" \e[0;00m"
|
||
|
testprintfchar $'%jc' $'a'
|
||
|
testprintfstring $'%js' $'Hallo'
|
||
|
testprintfpointer $'%jp' $'joehoe'
|
||
|
testprintfint $'%jd' $'1'
|
||
|
testprintfint $'%jd' $'2147483647'
|
||
|
testprintfint $'%jd' $'-2147483648'
|
||
|
testprintfint $'%jd' $'4294967295'
|
||
|
testprintfint $'%jd' $'-4294967296'
|
||
|
testprintfint $'%ji' $'1'
|
||
|
testprintfint $'%ji' $'2147483647'
|
||
|
testprintfint $'%ji' $'-2147483648'
|
||
|
testprintfint $'%ji' $'4294967295'
|
||
|
testprintfint $'%ji' $'-4294967296'
|
||
|
testprintfint $'%ju' $'1'
|
||
|
testprintfint $'%ju' $'2147483647'
|
||
|
testprintfint $'%ju' $'4294967295'
|
||
|
testprintfint $'%ju' $'42949672951'
|
||
|
testprintfint $'%jx' $'1'
|
||
|
testprintfint $'%jx' $'2147483647'
|
||
|
testprintfint $'%jx' $'4294967295'
|
||
|
testprintfint $'%jx' $'42949672951'
|
||
|
testprintfint $'%jX' $'1'
|
||
|
testprintfint $'%jX' $'2147483647'
|
||
|
testprintfint $'%jX' $'4294967295'
|
||
|
testprintfint $'%jX' $'42949672951'
|
||
|
testprintfn $'%jn' $'1'
|
||
|
testprintffloat $'%jf' $'1.12345'
|
||
|
testprintffloat $'%jf' $'1234567890.1234567890'
|
||
|
testprintffloat $'%jf' $'-1.12345'
|
||
|
testprintffloat $'%jf' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%jg' $'1.12345'
|
||
|
testprintffloat $'%jg' $'1234567890.1234567890'
|
||
|
testprintffloat $'%jg' $'-1.12345'
|
||
|
testprintffloat $'%jg' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%je' $'1.12345'
|
||
|
testprintffloat $'%je' $'1234567890.1234567890'
|
||
|
testprintffloat $'%je' $'-1.12345'
|
||
|
testprintffloat $'%je' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%ja' $'1.12345'
|
||
|
testprintffloat $'%ja' $'1234567890.1234567890'
|
||
|
testprintffloat $'%ja' $'-1.12345'
|
||
|
testprintffloat $'%ja' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%jA' $'1.12345'
|
||
|
testprintffloat $'%jA' $'1234567890.1234567890'
|
||
|
testprintffloat $'%jA' $'-1.12345'
|
||
|
testprintffloat $'%jA' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%jE' $'1.12345'
|
||
|
testprintffloat $'%jE' $'1234567890.1234567890'
|
||
|
testprintffloat $'%jE' $'-1.12345'
|
||
|
testprintffloat $'%jE' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%jF' $'1.12345'
|
||
|
testprintffloat $'%jF' $'1234567890.1234567890'
|
||
|
testprintffloat $'%jF' $'-1.12345'
|
||
|
testprintffloat $'%jF' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%jG' $'1.12345'
|
||
|
testprintffloat $'%jG' $'1234567890.1234567890'
|
||
|
testprintffloat $'%jG' $'-1.12345'
|
||
|
testprintffloat $'%jG' $'-1234567890.1234567890'
|
||
|
testprintfint $'%jo' $'1'
|
||
|
testprintfint $'%jo' $'2147483647'
|
||
|
testprintfint $'%jo' $'4294967295'
|
||
|
testprintfint $'%jo' $'42949672951'
|
||
|
testprintfint $'%jb' $'1'
|
||
|
testprintfint $'%jb' $'2147483647'
|
||
|
testprintfint $'%jb' $'4294967295'
|
||
|
testprintfint $'%jb' $'42949672951'
|
||
|
printf "\n"
|
||
|
|
||
|
# ft_extra Lenght Modifier 'z'
|
||
|
printf "\e[1;36mTesting Extra Length Modifier "'z'" \e[0;00m"
|
||
|
testprintfchar $'%zc' $'a'
|
||
|
testprintfstring $'%zs' $'Hallo'
|
||
|
testprintfpointer $'%zp' $'joehoe'
|
||
|
testprintfint $'%zd' $'1'
|
||
|
testprintfint $'%zd' $'2147483647'
|
||
|
testprintfint $'%zd' $'-2147483648'
|
||
|
testprintfint $'%zd' $'4294967295'
|
||
|
testprintfint $'%zd' $'-4294967296'
|
||
|
testprintfint $'%zi' $'1'
|
||
|
testprintfint $'%zi' $'2147483647'
|
||
|
testprintfint $'%zi' $'-2147483648'
|
||
|
testprintfint $'%zi' $'4294967295'
|
||
|
testprintfint $'%zi' $'-4294967296'
|
||
|
testprintfint $'%zu' $'1'
|
||
|
testprintfint $'%zu' $'2147483647'
|
||
|
testprintfint $'%zu' $'4294967295'
|
||
|
testprintfint $'%zu' $'42949672951'
|
||
|
testprintfint $'%zx' $'1'
|
||
|
testprintfint $'%zx' $'2147483647'
|
||
|
testprintfint $'%zx' $'4294967295'
|
||
|
testprintfint $'%zx' $'42949672951'
|
||
|
testprintfint $'%zX' $'1'
|
||
|
testprintfint $'%zX' $'2147483647'
|
||
|
testprintfint $'%zX' $'4294967295'
|
||
|
testprintfint $'%zX' $'42949672951'
|
||
|
testprintfn $'%zn' $'1'
|
||
|
testprintffloat $'%zf' $'1.12345'
|
||
|
testprintffloat $'%zf' $'1234567890.1234567890'
|
||
|
testprintffloat $'%zf' $'-1.12345'
|
||
|
testprintffloat $'%zf' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%zg' $'1.12345'
|
||
|
testprintffloat $'%zg' $'1234567890.1234567890'
|
||
|
testprintffloat $'%zg' $'-1.12345'
|
||
|
testprintffloat $'%zg' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%ze' $'1.12345'
|
||
|
testprintffloat $'%ze' $'1234567890.1234567890'
|
||
|
testprintffloat $'%ze' $'-1.12345'
|
||
|
testprintffloat $'%ze' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%za' $'1.12345'
|
||
|
testprintffloat $'%za' $'1234567890.1234567890'
|
||
|
testprintffloat $'%za' $'-1.12345'
|
||
|
testprintffloat $'%za' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%zA' $'1.12345'
|
||
|
testprintffloat $'%zA' $'1234567890.1234567890'
|
||
|
testprintffloat $'%zA' $'-1.12345'
|
||
|
testprintffloat $'%zA' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%zE' $'1.12345'
|
||
|
testprintffloat $'%zE' $'1234567890.1234567890'
|
||
|
testprintffloat $'%zE' $'-1.12345'
|
||
|
testprintffloat $'%zE' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%zF' $'1.12345'
|
||
|
testprintffloat $'%zF' $'1234567890.1234567890'
|
||
|
testprintffloat $'%zF' $'-1.12345'
|
||
|
testprintffloat $'%zF' $'-1234567890.1234567890'
|
||
|
testprintffloat $'%zG' $'1.12345'
|
||
|
testprintffloat $'%zG' $'1234567890.1234567890'
|
||
|
testprintffloat $'%zG' $'-1.12345'
|
||
|
testprintffloat $'%zG' $'-1234567890.1234567890'
|
||
|
testprintfint $'%zo' $'1'
|
||
|
testprintfint $'%zo' $'2147483647'
|
||
|
testprintfint $'%zo' $'4294967295'
|
||
|
testprintfint $'%zo' $'42949672951'
|
||
|
testprintfint $'%zb' $'1'
|
||
|
testprintfint $'%zb' $'2147483647'
|
||
|
testprintfint $'%zb' $'4294967295'
|
||
|
testprintfint $'%zb' $'42949672951'
|
||
|
printf "\n"
|
||
|
|
||
|
EFAULTS=$FAULTS
|
||
|
ETOTAL=$TOTAL
|
||
|
TOTAL=$(($MTOTAL+$BTOTAL+$OMTOTAL+$OBTOTAL+$ETOTAL))
|
||
|
FAULTS=$(($MFAULTS+$BFAULTS+$OMFAULTS+$OBFAULTS+$EFAULTS))
|
||
|
RIGHT=$(($TOTAL-$FAULTS))
|
||
|
ERIGHT=$(($ETOTAL-$EFAULTS))
|
||
|
|
||
|
if [ $LEVEL -lt 5 ]
|
||
|
then
|
||
|
printf "\e[1;31mYou can still go further, to the highest level, which will require you to handle all undefined behavior\e[0;00m\n"
|
||
|
if [ $FAULTS -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;35mBut out of \e[1;36m$TOTAL tests\e[0;35m we got \e[1;32mno errors\e[1;35m, Congratulations\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 0
|
||
|
else
|
||
|
if [ $MFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$MTOTAL tests \e[0;00mwe got \e[1;32m$MRIGHT OKs \e[0;00mand \e[1;31m$MFAULTS KOs \e[0;00min the \e[1;35mMandatory \e[0;00mpart So that really sucks\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$MTOTAL tests \e[1;32min the Mandatory part which is a good start\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $BFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$BTOTAL tests \e[0;00mwe got \e[1;32m$BRIGHT OKs \e[0;00mand \e[1;31m$BFAULTS KOs \e[0;00min the \e[1;35mBonus \e[0;00mpart So that's a bummer\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$BTOTAL tests \e[1;32min the Bonus part which is OK\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $OMFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$OMTOTAL tests \e[0;00mwe got \e[1;32m$OMRIGHT OKs \e[0;00mand \e[1;31m$OMFAULTS KOs \e[0;00min the \e[1;35mOld Mandatory \e[0;00mpart Good thing we are evaluating the new subject\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$OMTOTAL tests \e[1;32min the Old Mandatory part which is good\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $OBFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$OBTOTAL tests \e[0;00mwe got \e[1;32m$OBRIGHT OKs \e[0;00mand \e[1;31m$OBFAULTS KOs \e[0;00min the \e[1;35mOld Bonus \e[0;00mpart You lucky bastard you\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$OBTOTAL tests \e[1;32min the old Bonus part which is very nice\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $EFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$ETOTAL tests \e[0;00mwe got \e[1;32m$ERIGHT OKs \e[0;00mand \e[1;31m$EFAULTS KOs \e[0;00min the \e[1;35mExtra \e[0;00mpart Which is understandable\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$ETOTAL tests \e[1;32min the Extra part which is truly amazing\e[0;00m\n"
|
||
|
fi
|
||
|
printf "\e[0;00mOut of \e[1;36m$TOTAL tests \e[0;00mwe got \e[1;32m$RIGHT OKs \e[0;00mand \e[1;31m$FAULTS KOs\e[0;00m... You can be your own judge\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 1
|
||
|
fi
|
||
|
fi
|
||
|
printf "\e[1;32mOK\e[0;00m"
|
||
|
printf "\n"
|
||
|
|
||
|
TOTAL=0
|
||
|
FAULTS=0
|
||
|
|
||
|
# ft_extra Undefined Behavior
|
||
|
printf "\e[1;36mTesting Extra Undefined Behavior \e[0;00m"
|
||
|
testprintfbasic $'%%%%%'
|
||
|
testprintfbasic $''
|
||
|
testprintfchar $'%02-.c' $'1'
|
||
|
testprintfchar $'%02-c' $'1'
|
||
|
testprintfchar $'%02-2.c' $'1'
|
||
|
testprintfchar $'%02-.2c' $'1'
|
||
|
testprintfchar $'%02-2c' $'1'
|
||
|
testprintfchar $'%02-2.2c' $'1'
|
||
|
testprintfchar $'%04-2c' $'1'
|
||
|
testprintfchar $'%02-4c' $'1'
|
||
|
testprintfchar $'%02-4.8c' $'1'
|
||
|
testprintfchar $'%04-8.2c' $'1'
|
||
|
testprintfchar $'%08-2.4c' $'1'
|
||
|
testprintfchar $'%08-4.2c' $'1'
|
||
|
testprintfchar $'%02-8.4c' $'1'
|
||
|
testprintfchar $'%04-2.8c' $'1'
|
||
|
testprintfstring $'%02-.s' $'a'
|
||
|
testprintfstring $'%02-s' $'a'
|
||
|
testprintfstring $'%02-2.s' $'a'
|
||
|
testprintfstring $'%02-.2s' $'a'
|
||
|
testprintfstring $'%02-2s' $'a'
|
||
|
testprintfstring $'%02-2.2s' $'a'
|
||
|
testprintfstring $'%04-2s' $'a'
|
||
|
testprintfstring $'%02-4s' $'a'
|
||
|
testprintfstring $'%02-4.8s' $'a'
|
||
|
testprintfstring $'%04-8.2s' $'a'
|
||
|
testprintfstring $'%08-2.4s' $'a'
|
||
|
testprintfstring $'%08-4.2s' $'a'
|
||
|
testprintfstring $'%02-8.4s' $'a'
|
||
|
testprintfstring $'%04-2.8s' $'a'
|
||
|
testprintfstring $'%02-.s' $'Hallo'
|
||
|
testprintfstring $'%02-s' $'Hallo'
|
||
|
testprintfstring $'%02-2.s' $'Hallo'
|
||
|
testprintfstring $'%02-.2s' $'Hallo'
|
||
|
testprintfstring $'%02-2s' $'Hallo'
|
||
|
testprintfstring $'%02-2.2s' $'Hallo'
|
||
|
testprintfstring $'%04-2s' $'Hallo'
|
||
|
testprintfstring $'%02-4s' $'Hallo'
|
||
|
testprintfstring $'%02-4.8s' $'Hallo'
|
||
|
testprintfstring $'%04-8.2s' $'Hallo'
|
||
|
testprintfstring $'%08-2.4s' $'Hallo'
|
||
|
testprintfstring $'%08-4.2s' $'Hallo'
|
||
|
testprintfstring $'%02-8.4s' $'Hallo'
|
||
|
testprintfstring $'%04-2.8s' $'Hallo'
|
||
|
testprintfpointer $'%02-.p' $'Hallo'
|
||
|
testprintfpointer $'%02-p' $'Hallo'
|
||
|
testprintfpointer $'%02-2.p' $'Hallo'
|
||
|
testprintfpointer $'%02-.2p' $'Hallo'
|
||
|
testprintfpointer $'%02-2p' $'Hallo'
|
||
|
testprintfpointer $'%02-2.2p' $'Hallo'
|
||
|
testprintfpointer $'%04-2p' $'Hallo'
|
||
|
testprintfpointer $'%02-4p' $'Hallo'
|
||
|
testprintfpointer $'%02-4.8p' $'Hallo'
|
||
|
testprintfpointer $'%04-8.2p' $'Hallo'
|
||
|
testprintfpointer $'%08-2.4p' $'Hallo'
|
||
|
testprintfpointer $'%08-4.2p' $'Hallo'
|
||
|
testprintfpointer $'%02-8.4p' $'Hallo'
|
||
|
testprintfpointer $'%04-2.8p' $'Hallo'
|
||
|
testprintfint $'%02-.d' $'0'
|
||
|
testprintfint $'%02-d' $'0'
|
||
|
testprintfint $'%02-2.d' $'0'
|
||
|
testprintfint $'%02-.2d' $'0'
|
||
|
testprintfint $'%02-2d' $'0'
|
||
|
testprintfint $'%02-2.2d' $'0'
|
||
|
testprintfint $'%04-2d' $'0'
|
||
|
testprintfint $'%02-4d' $'0'
|
||
|
testprintfint $'%02-4.8d' $'0'
|
||
|
testprintfint $'%04-8.2d' $'0'
|
||
|
testprintfint $'%08-2.4d' $'0'
|
||
|
testprintfint $'%08-4.2d' $'0'
|
||
|
testprintfint $'%02-8.4d' $'0'
|
||
|
testprintfint $'%04-2.8d' $'0'
|
||
|
testprintfint $'%02-.d' $'1'
|
||
|
testprintfint $'%02-d' $'1'
|
||
|
testprintfint $'%02-2.d' $'1'
|
||
|
testprintfint $'%02-.2d' $'1'
|
||
|
testprintfint $'%02-2d' $'1'
|
||
|
testprintfint $'%02-2.2d' $'1'
|
||
|
testprintfint $'%04-2d' $'1'
|
||
|
testprintfint $'%02-4d' $'1'
|
||
|
testprintfint $'%02-4.8d' $'1'
|
||
|
testprintfint $'%04-8.2d' $'1'
|
||
|
testprintfint $'%08-2.4d' $'1'
|
||
|
testprintfint $'%08-4.2d' $'1'
|
||
|
testprintfint $'%02-8.4d' $'1'
|
||
|
testprintfint $'%04-2.8d' $'1'
|
||
|
testprintfint $'%02-.d' $'-1'
|
||
|
testprintfint $'%02-d' $'-1'
|
||
|
testprintfint $'%02-2.d' $'-1'
|
||
|
testprintfint $'%02-.2d' $'-1'
|
||
|
testprintfint $'%02-2d' $'-1'
|
||
|
testprintfint $'%02-2.2d' $'-1'
|
||
|
testprintfint $'%04-2d' $'-1'
|
||
|
testprintfint $'%02-4d' $'-1'
|
||
|
testprintfint $'%02-4.8d' $'-1'
|
||
|
testprintfint $'%04-8.2d' $'-1'
|
||
|
testprintfint $'%08-2.4d' $'-1'
|
||
|
testprintfint $'%08-4.2d' $'-1'
|
||
|
testprintfint $'%02-8.4d' $'-1'
|
||
|
testprintfint $'%04-2.8d' $'-1'
|
||
|
testprintfint $'%02-.d' $'2147483647'
|
||
|
testprintfint $'%02-d' $'2147483647'
|
||
|
testprintfint $'%02-2.d' $'2147483647'
|
||
|
testprintfint $'%02-.2d' $'2147483647'
|
||
|
testprintfint $'%02-2d' $'2147483647'
|
||
|
testprintfint $'%02-2.2d' $'2147483647'
|
||
|
testprintfint $'%04-2d' $'2147483647'
|
||
|
testprintfint $'%02-4d' $'2147483647'
|
||
|
testprintfint $'%02-4.8d' $'2147483647'
|
||
|
testprintfint $'%04-8.2d' $'2147483647'
|
||
|
testprintfint $'%08-2.4d' $'2147483647'
|
||
|
testprintfint $'%08-4.2d' $'2147483647'
|
||
|
testprintfint $'%02-8.4d' $'2147483647'
|
||
|
testprintfint $'%04-2.8d' $'2147483647'
|
||
|
testprintfint $'%02-.d' $'-2147483648'
|
||
|
testprintfint $'%02-d' $'-2147483648'
|
||
|
testprintfint $'%02-2.d' $'-2147483648'
|
||
|
testprintfint $'%02-.2d' $'-2147483648'
|
||
|
testprintfint $'%02-2d' $'-2147483648'
|
||
|
testprintfint $'%02-2.2d' $'-2147483648'
|
||
|
testprintfint $'%04-2d' $'-2147483648'
|
||
|
testprintfint $'%02-4d' $'-2147483648'
|
||
|
testprintfint $'%02-4.8d' $'-2147483648'
|
||
|
testprintfint $'%04-8.2d' $'-2147483648'
|
||
|
testprintfint $'%08-2.4d' $'-2147483648'
|
||
|
testprintfint $'%08-4.2d' $'-2147483648'
|
||
|
testprintfint $'%02-8.4d' $'-2147483648'
|
||
|
testprintfint $'%04-2.8d' $'-2147483648'
|
||
|
testprintfint $'%02-.i' $'0'
|
||
|
testprintfint $'%02-i' $'0'
|
||
|
testprintfint $'%02-2.i' $'0'
|
||
|
testprintfint $'%02-.2i' $'0'
|
||
|
testprintfint $'%02-2i' $'0'
|
||
|
testprintfint $'%02-2.2i' $'0'
|
||
|
testprintfint $'%04-2i' $'0'
|
||
|
testprintfint $'%02-4i' $'0'
|
||
|
testprintfint $'%02-4.8i' $'0'
|
||
|
testprintfint $'%04-8.2i' $'0'
|
||
|
testprintfint $'%08-2.4i' $'0'
|
||
|
testprintfint $'%08-4.2i' $'0'
|
||
|
testprintfint $'%02-8.4i' $'0'
|
||
|
testprintfint $'%04-2.8i' $'0'
|
||
|
testprintfint $'%02-.i' $'1'
|
||
|
testprintfint $'%02-i' $'1'
|
||
|
testprintfint $'%02-2.i' $'1'
|
||
|
testprintfint $'%02-.2i' $'1'
|
||
|
testprintfint $'%02-2i' $'1'
|
||
|
testprintfint $'%02-2.2i' $'1'
|
||
|
testprintfint $'%04-2i' $'1'
|
||
|
testprintfint $'%02-4i' $'1'
|
||
|
testprintfint $'%02-4.8i' $'1'
|
||
|
testprintfint $'%04-8.2i' $'1'
|
||
|
testprintfint $'%08-2.4i' $'1'
|
||
|
testprintfint $'%08-4.2i' $'1'
|
||
|
testprintfint $'%02-8.4i' $'1'
|
||
|
testprintfint $'%04-2.8i' $'1'
|
||
|
testprintfint $'%02-.i' $'-1'
|
||
|
testprintfint $'%02-i' $'-1'
|
||
|
testprintfint $'%02-2.i' $'-1'
|
||
|
testprintfint $'%02-.2i' $'-1'
|
||
|
testprintfint $'%02-2i' $'-1'
|
||
|
testprintfint $'%02-2.2i' $'-1'
|
||
|
testprintfint $'%04-2i' $'-1'
|
||
|
testprintfint $'%02-4i' $'-1'
|
||
|
testprintfint $'%02-4.8i' $'-1'
|
||
|
testprintfint $'%04-8.2i' $'-1'
|
||
|
testprintfint $'%08-2.4i' $'-1'
|
||
|
testprintfint $'%08-4.2i' $'-1'
|
||
|
testprintfint $'%02-8.4i' $'-1'
|
||
|
testprintfint $'%04-2.8i' $'-1'
|
||
|
testprintfint $'%02-.i' $'2147483647'
|
||
|
testprintfint $'%02-i' $'2147483647'
|
||
|
testprintfint $'%02-2.i' $'2147483647'
|
||
|
testprintfint $'%02-.2i' $'2147483647'
|
||
|
testprintfint $'%02-2i' $'2147483647'
|
||
|
testprintfint $'%02-2.2i' $'2147483647'
|
||
|
testprintfint $'%04-2i' $'2147483647'
|
||
|
testprintfint $'%02-4i' $'2147483647'
|
||
|
testprintfint $'%02-4.8i' $'2147483647'
|
||
|
testprintfint $'%04-8.2i' $'2147483647'
|
||
|
testprintfint $'%08-2.4i' $'2147483647'
|
||
|
testprintfint $'%08-4.2i' $'2147483647'
|
||
|
testprintfint $'%02-8.4i' $'2147483647'
|
||
|
testprintfint $'%04-2.8i' $'2147483647'
|
||
|
testprintfint $'%02-.i' $'-2147483648'
|
||
|
testprintfint $'%02-i' $'-2147483648'
|
||
|
testprintfint $'%02-2.i' $'-2147483648'
|
||
|
testprintfint $'%02-.2i' $'-2147483648'
|
||
|
testprintfint $'%02-2i' $'-2147483648'
|
||
|
testprintfint $'%02-2.2i' $'-2147483648'
|
||
|
testprintfint $'%04-2i' $'-2147483648'
|
||
|
testprintfint $'%02-4i' $'-2147483648'
|
||
|
testprintfint $'%02-4.8i' $'-2147483648'
|
||
|
testprintfint $'%04-8.2i' $'-2147483648'
|
||
|
testprintfint $'%08-2.4i' $'-2147483648'
|
||
|
testprintfint $'%08-4.2i' $'-2147483648'
|
||
|
testprintfint $'%02-8.4i' $'-2147483648'
|
||
|
testprintfint $'%04-2.8i' $'-2147483648'
|
||
|
testprintfint $'%02-.u' $'0'
|
||
|
testprintfint $'%02-u' $'0'
|
||
|
testprintfint $'%02-2.u' $'0'
|
||
|
testprintfint $'%02-.2u' $'0'
|
||
|
testprintfint $'%02-2u' $'0'
|
||
|
testprintfint $'%02-2.2u' $'0'
|
||
|
testprintfint $'%04-2u' $'0'
|
||
|
testprintfint $'%02-4u' $'0'
|
||
|
testprintfint $'%02-4.8u' $'0'
|
||
|
testprintfint $'%04-8.2u' $'0'
|
||
|
testprintfint $'%08-2.4u' $'0'
|
||
|
testprintfint $'%08-4.2u' $'0'
|
||
|
testprintfint $'%02-8.4u' $'0'
|
||
|
testprintfint $'%04-2.8u' $'0'
|
||
|
testprintfint $'%02-.u' $'1'
|
||
|
testprintfint $'%02-u' $'1'
|
||
|
testprintfint $'%02-2.u' $'1'
|
||
|
testprintfint $'%02-.2u' $'1'
|
||
|
testprintfint $'%02-2u' $'1'
|
||
|
testprintfint $'%02-2.2u' $'1'
|
||
|
testprintfint $'%04-2u' $'1'
|
||
|
testprintfint $'%02-4u' $'1'
|
||
|
testprintfint $'%02-4.8u' $'1'
|
||
|
testprintfint $'%04-8.2u' $'1'
|
||
|
testprintfint $'%08-2.4u' $'1'
|
||
|
testprintfint $'%08-4.2u' $'1'
|
||
|
testprintfint $'%02-8.4u' $'1'
|
||
|
testprintfint $'%04-2.8u' $'1'
|
||
|
testprintfint $'%02-.u' $'2147483647'
|
||
|
testprintfint $'%02-u' $'2147483647'
|
||
|
testprintfint $'%02-2.u' $'2147483647'
|
||
|
testprintfint $'%02-.2u' $'2147483647'
|
||
|
testprintfint $'%02-2u' $'2147483647'
|
||
|
testprintfint $'%02-2.2u' $'2147483647'
|
||
|
testprintfint $'%04-2u' $'2147483647'
|
||
|
testprintfint $'%02-4u' $'2147483647'
|
||
|
testprintfint $'%02-4.8u' $'2147483647'
|
||
|
testprintfint $'%04-8.2u' $'2147483647'
|
||
|
testprintfint $'%08-2.4u' $'2147483647'
|
||
|
testprintfint $'%08-4.2u' $'2147483647'
|
||
|
testprintfint $'%02-8.4u' $'2147483647'
|
||
|
testprintfint $'%04-2.8u' $'2147483647'
|
||
|
testprintfint $'%02-.x' $'0'
|
||
|
testprintfint $'%02-x' $'0'
|
||
|
testprintfint $'%02-2.x' $'0'
|
||
|
testprintfint $'%02-.2x' $'0'
|
||
|
testprintfint $'%02-2x' $'0'
|
||
|
testprintfint $'%02-2.2x' $'0'
|
||
|
testprintfint $'%04-2x' $'0'
|
||
|
testprintfint $'%02-4x' $'0'
|
||
|
testprintfint $'%02-4.8x' $'0'
|
||
|
testprintfint $'%04-8.2x' $'0'
|
||
|
testprintfint $'%08-2.4x' $'0'
|
||
|
testprintfint $'%08-4.2x' $'0'
|
||
|
testprintfint $'%02-8.4x' $'0'
|
||
|
testprintfint $'%04-2.8x' $'0'
|
||
|
testprintfint $'%02-.x' $'1'
|
||
|
testprintfint $'%02-x' $'1'
|
||
|
testprintfint $'%02-2.x' $'1'
|
||
|
testprintfint $'%02-.2x' $'1'
|
||
|
testprintfint $'%02-2x' $'1'
|
||
|
testprintfint $'%02-2.2x' $'1'
|
||
|
testprintfint $'%04-2x' $'1'
|
||
|
testprintfint $'%02-4x' $'1'
|
||
|
testprintfint $'%02-4.8x' $'1'
|
||
|
testprintfint $'%04-8.2x' $'1'
|
||
|
testprintfint $'%08-2.4x' $'1'
|
||
|
testprintfint $'%08-4.2x' $'1'
|
||
|
testprintfint $'%02-8.4x' $'1'
|
||
|
testprintfint $'%04-2.8x' $'1'
|
||
|
testprintfint $'%02-.x' $'2147483647'
|
||
|
testprintfint $'%02-x' $'2147483647'
|
||
|
testprintfint $'%02-2.x' $'2147483647'
|
||
|
testprintfint $'%02-.2x' $'2147483647'
|
||
|
testprintfint $'%02-2x' $'2147483647'
|
||
|
testprintfint $'%02-2.2x' $'2147483647'
|
||
|
testprintfint $'%04-2x' $'2147483647'
|
||
|
testprintfint $'%02-4x' $'2147483647'
|
||
|
testprintfint $'%02-4.8x' $'2147483647'
|
||
|
testprintfint $'%04-8.2x' $'2147483647'
|
||
|
testprintfint $'%08-2.4x' $'2147483647'
|
||
|
testprintfint $'%08-4.2x' $'2147483647'
|
||
|
testprintfint $'%02-8.4x' $'2147483647'
|
||
|
testprintfint $'%04-2.8x' $'2147483647'
|
||
|
testprintfint $'%02-.X' $'0'
|
||
|
testprintfint $'%02-X' $'0'
|
||
|
testprintfint $'%02-2.X' $'0'
|
||
|
testprintfint $'%02-.2X' $'0'
|
||
|
testprintfint $'%02-2X' $'0'
|
||
|
testprintfint $'%02-2.2X' $'0'
|
||
|
testprintfint $'%04-2X' $'0'
|
||
|
testprintfint $'%02-4X' $'0'
|
||
|
testprintfint $'%02-4.8X' $'0'
|
||
|
testprintfint $'%04-8.2X' $'0'
|
||
|
testprintfint $'%08-2.4X' $'0'
|
||
|
testprintfint $'%08-4.2X' $'0'
|
||
|
testprintfint $'%02-8.4X' $'0'
|
||
|
testprintfint $'%04-2.8X' $'0'
|
||
|
testprintfint $'%02-.X' $'1'
|
||
|
testprintfint $'%02-X' $'1'
|
||
|
testprintfint $'%02-2.X' $'1'
|
||
|
testprintfint $'%02-.2X' $'1'
|
||
|
testprintfint $'%02-2X' $'1'
|
||
|
testprintfint $'%02-2.2X' $'1'
|
||
|
testprintfint $'%04-2X' $'1'
|
||
|
testprintfint $'%02-4X' $'1'
|
||
|
testprintfint $'%02-4.8X' $'1'
|
||
|
testprintfint $'%04-8.2X' $'1'
|
||
|
testprintfint $'%08-2.4X' $'1'
|
||
|
testprintfint $'%08-4.2X' $'1'
|
||
|
testprintfint $'%02-8.4X' $'1'
|
||
|
testprintfint $'%04-2.8X' $'1'
|
||
|
testprintfint $'%02-.X' $'2147483647'
|
||
|
testprintfint $'%02-X' $'2147483647'
|
||
|
testprintfint $'%02-2.X' $'2147483647'
|
||
|
testprintfint $'%02-.2X' $'2147483647'
|
||
|
testprintfint $'%02-2X' $'2147483647'
|
||
|
testprintfint $'%02-2.2X' $'2147483647'
|
||
|
testprintfint $'%04-2X' $'2147483647'
|
||
|
testprintfint $'%02-4X' $'2147483647'
|
||
|
testprintfint $'%02-4.8X' $'2147483647'
|
||
|
testprintfint $'%04-8.2X' $'2147483647'
|
||
|
testprintfint $'%08-2.4X' $'2147483647'
|
||
|
testprintfint $'%08-4.2X' $'2147483647'
|
||
|
testprintfint $'%02-8.4X' $'2147483647'
|
||
|
testprintfint $'%04-2.8X' $'2147483647'
|
||
|
printf "\n"
|
||
|
|
||
|
UBFAULTS=$FAULTS
|
||
|
UBTOTAL=$TOTAL
|
||
|
TOTAL=$(($MTOTAL+$BTOTAL+$OMTOTAL+$OBTOTAL+$ETOTAL+$UBTOTAL))
|
||
|
FAULTS=$(($MFAULTS+$BFAULTS+$OMFAULTS+$OBFAULTS+$EFAULTS+$UBFAULTS))
|
||
|
RIGHT=$(($TOTAL-$FAULTS))
|
||
|
UBRIGHT=$(($UBTOTAL-$UBFAULTS))
|
||
|
|
||
|
# Conclusion
|
||
|
if [ $FAULTS -eq 0 ]
|
||
|
then
|
||
|
printf "\e[1;35mwe got no errors, That is truly unbelievable, if you are not just passing the arguments to the real printf in your code then you are a god\e[0;00m\n"
|
||
|
else
|
||
|
if [ $MFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$MTOTAL tests \e[0;00mwe got \e[1;32m$MRIGHT OKs \e[0;00mand \e[1;31m$MFAULTS KOs \e[0;00min the \e[1;35mMandatory \e[0;00mpart So that really sucks\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$MTOTAL tests \e[1;32min the Mandatory part which is a good start\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $BFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$BTOTAL tests \e[0;00mwe got \e[1;32m$BRIGHT OKs \e[0;00mand \e[1;31m$BFAULTS KOs \e[0;00min the \e[1;35mBonus \e[0;00mpart So that's a bummer\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$BTOTAL tests \e[1;32min the Bonus part which is OK\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $OMFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$OMTOTAL tests \e[0;00mwe got \e[1;32m$OMRIGHT OKs \e[0;00mand \e[1;31m$OMFAULTS KOs \e[0;00min the \e[1;35mOld Mandatory \e[0;00mpart Good thing we are evaluating the new subject\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$OMTOTAL tests \e[1;32min the Old Mandatory part which is good\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $OBFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$OBTOTAL tests \e[0;00mwe got \e[1;32m$OBRIGHT OKs \e[0;00mand \e[1;31m$OBFAULTS KOs \e[0;00min the \e[1;35mOld Bonus \e[0;00mpart You lucky bastard you\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$OBTOTAL tests \e[1;32min the old Bonus part which is very nice\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $EFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$ETOTAL tests \e[0;00mwe got \e[1;32m$ERIGHT OKs \e[0;00mand \e[1;31m$EFAULTS KOs \e[0;00min the \e[1;35mExtra \e[0;00mpart Which is understandable\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$ETOTAL tests \e[1;32min the Extra part which is truly amazing\e[0;00m\n"
|
||
|
fi
|
||
|
if [ $UBFAULTS -gt 0 ]
|
||
|
then
|
||
|
printf "\e[0;00mOut of \e[1;36m$UBTOTAL tests \e[0;00mwe got \e[1;32m$UBRIGHT OKs \e[0;00mand \e[1;31m$UBFAULTS KOs \e[0;00min the \e[1;35mUndefined Behavior \e[0;00mpart And if you didn't I would be very suspicious\e[0;00m\n"
|
||
|
else
|
||
|
printf "\e[1;32mYou passed all \e[1;36m$UBTOTAL tests \e[1;32min the undefined behavior tests, truly outstanding\e[0;00m\n"
|
||
|
fi
|
||
|
printf "\e[0;00mOut of \e[1;36m$TOTAL tests \e[0;00mwe got \e[1;32m$RIGHT OKs \e[0;00mand \e[1;31m$FAULTS KOs\e[0;00m... You can be your own judge\e[0;00m\n"
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 1
|
||
|
fi
|
||
|
make fclean > /dev/null
|
||
|
rm -rf tests/tmp
|
||
|
exit 0
|