proj home

Files   Classes   Functions   Hierarchy  

main.cpp

Go to the documentation of this file.
00001 #include <iostream>
00002 using namespace std;
00003 
00004 #include <dealer.h>
00005 #include <deckpontoon.h>
00006 #include <playerGame.h>
00007 #include <textGame.h>
00008 
00009 
00010 void test01()
00011 {
00012   deckpontoon dp;
00013 
00014   for (uint i=0; i<50; ++i)
00015   {
00016     cout << dp.draw() << " ";
00017   }
00018   cout << endl;
00019 
00020   dp.verifyTheDeck();
00021 
00022 }
00023 
00024 void test02()
00025 {
00026   textGame tg;
00027 }
00028 
00029 void test03()
00030 {
00031   playerGameSimulate pgs;
00032 
00033   double win;
00034   double loss;
00035   pgs.calculate(win,loss,4,11);
00036   cout << win << " " << loss << endl;
00037 
00038 }
00039 
00040 void test04()
00041 {
00042   playerGameSimulate pgs;
00043 
00044   pgs.tableCalculatePrint();
00045 }
00046 
00047 void test05()
00048 {
00049   playerGameSimulate pgs;
00050 
00051   pgs.tableCalculateHitPrint();
00052 }
00053 
00054 int main(int argc, char** argv)
00055 {
00056 
00057 
00058   test02();
00059 
00060 
00061   return 0;
00062 }
00063 
00064 

Generated on Fri Mar 4 00:49:25 2011 for Chelton Evans Source by  doxygen 1.5.8